GPU Detection

Discussion created by oviang on Jan 13, 2009
Latest reply on Jan 13, 2009 by MicahVillmow
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)


.... (cpu code)

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

Thank you very much.