When I'm not locally logged into my Linux machine, my GPU wasn't appearing in the list of devices. I tried running with DISPLAY=:0, and that fixed it. However, what happens if I'm running a GUI program that's OpenCL accelerated? Changing my DISPLAY environment variable would send the UI to the wrong place!
Is there some alternative variable I can set for the APP SDK, that will override DISPLAY?
Solved! Go to Solution.
there is COMPUTE it overide DISPLAY option.
there is COMPUTE it overide DISPLAY option.
Excellent! Thank you!
Is this documented anywhere?
This is documented in the SDK release notes:
http://developer.amd.com/sdks/AMDAPPSDK/assets/AMD_APP_SDK_Release_Notes_Developer.pdf
Thanks! I actually started to read those, but was too excited to try out some of the samples.