Cuda2.1 and Cuda2.0 give different results for cudaDeviceGetProperties on non-cuda machines
Under 2.0 on a non-cuda machine, I would get -
devices = 1
deviceProp.major = 9999
deviceProp.minor = 9999
Under 2.1 on the ‘same’ non-cuda machine, I get -
devices = 1
deviceProp.major = 4
deviceProp.minor = 4229796
I get these numbers consistently so far. I also tried it on a different machine and a virtual machine to get the same numbers.
All cases, the cudaDeviceProperties does return with cudaSuccess.
I used these numbers to detect whether I should use my cuda kernels or not. With this change, I cannot do so anymore and my application breaks. What is the new way of detecting whether cuda-hardware is present in the system?
Is this going to change again?
Thanks in anticipation!