![]() Which, if I remember correctly, Microsoft calls "reserved", in other words it's kind of unsupported/undocumented.įinding out the vendor is still relatively easy. You can parse these vendor and model IDs from the "key" string inside the structure that you get when you call EnumDisplayDevices. This works somewhat better but it is equally painful and error-prone. The other, slightly better way is finding the vendor/model ID combination and looking that one up. There are two ways of doing this, one is parsing the graphic card's advertised human readable name, this is asking for trouble right away (since many cards that are hugely different will advertise the same human-readable name, and some model names even lie about their architecture generation!). If you really insist on detecting the GPU model, prepare for trouble. Ask the API how much local/global memory you have available, what warp sizes it supports, and so on. See if the minimum version of your favorite compute API (OpenCL or whatever) is supported, and if the required extensions are present, compile some kernels, and see if that produces errors. The above comment by Ben Voigt summarizes it: Simply don't do it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |