cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

oviang
Journeyman III

GPU Detection

GPU detection

Hi there,

I am writing an integrated application that is using GPU's and in case that the GPU is not available will use the CPU for computations.

I need code to detect if a GPU card is available or not. The code must be very general in nature because the application will work on the entire range of ATI cards supported; something like this:

if (is_gpu_supported() == TRUE) then

.... (gpu code)

else

.... (cpu code)

Can someone point to an existing sample or suggest an idea on how to do that?

Thank you very much.

Regards,

Ovidiu

0 Likes
1 Reply

Please check NumDevices in the CAL SDK
0 Likes