home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sgi / 18309 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  781 b 

  1. Path: sparky!uunet!dove!poly2.nist.gov!fred
  2. From: fred@poly2.nist.gov (Frederick R. Phelan Jr.)
  3. Newsgroups: comp.sys.sgi
  4. Subject: CPU Type Detection
  5. Message-ID: <7668@dove.nist.gov>
  6. Date: 23 Dec 92 20:32:14 GMT
  7. Sender: news@dove.nist.gov
  8. Lines: 12
  9.  
  10. We have a graphics application for animated contouring that we need to slow down
  11. when running on a Crimson.  The sginap(k) function does this nicely, but I would
  12. like to feed it k based on the CPU it encounters so I don't need to recompile for
  13. different machines.  How does one detect the CPU type at run time?  On a PI we
  14. want no sginap, on the Crimson, we want an sginap(2).  Note that this app is 
  15. CPU bound not graphics bound, so getgdesc(~) to detect VGX vs. GT etc. is not what
  16. we want. 
  17.  
  18. ---
  19. Fred Phelan
  20. fred@poly2.nist.gov
  21.  
  22.