Closed gicmo closed 9 years ago
Just a note: I am interested in being able to select which one of the two is being used because one of them is offline and not doing anything. On my system this one is not selected by default by the test programs to run the tests on. There is also a way to find out which of them is online and which one not (cf. [1]). If there is enough interest I can come up with a patch to automatically select this one on OSX, but it will need a bit more code and linking against the OpenGL framework.
[1] https://developer.apple.com/library/mac/technotes/tn2335/_index.html
Cleaning house; closing old PR's I never merged this because I didn't much like the interface of specifying the deviceID through a Hex string. it also doesn't allow you to pick from multiple platforms. I would very much like to be able to pick the device through ordinals; printing our a list of platforms and devices on the machine, and then passing -p 1 -d 2 or something similar to pick platform 1, device 2. I think there is a similar effort underway for the tune tool in #58. If that code is submitted, then we could leverage that code in the test tool too.
On my machine (MacPro late 2013) there are two FirePro D300 cards. With this patch one can see which one was used and it also allows one to call the test program with a specific device id to choose which one of the two to use, e.g. --device "0x2021c00" (sine they have exactly the same name, the name itself cannot be used to select one of them).