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