I am having trouble with CUDA API.
Could you please give me any advices ?
[Problem]
CUDA API returns an error, though driver has been updated to latest.
API : cudaGetDeviceCount()
Return Code : cudaErrorInsufficientDriver(35)
[Condition]
OS : Microsoft Windows 10 Home Edition 64bit
CUDA : Ver 8.0
Build Env : Visual Studio 2015
Graphic Board : NVIDIA GeForce GTS 250
Driver : GeForce 342.01 Driver
CPU : Intel Core i5 750@2.67GHz 4 cores
[Detail information]
I found the driver version problem while installing CUDA 8.0, too.
The installer informed a warning message while checking system.
The warning message :
"This graphics driver could not find compatible graphics
hardware. You may continue installation, but you may not be able to run CUDA
applications with this driver. This may occur with graphics hardware that is newer
than this toolkit. In that case, it is suggested that you keep your existing
driver and install the remaining portions of the CUDA Toolkit."
But I continued installing CUDA. After that I build one of sample program,
which is “simplePrintf.cu”.
The runtime error occurred at gpuGetMaxGflopsDeviceId().
call stack :
simplePrintf.exe!check<enum cudaError>(cudaError result, const char * const func, const char * const file, const int line) line 989 C++
simplePrintf.exe!gpuGetMaxGflopsDeviceId() line 1135 C++
simplePrintf.exe!findCudaDevice(int argc, const char * * argv) line 1246 C++
simplePrintf.exe!main(int argc, char * * argv) line 42 C++
That is all.
Thanks in advance,
makotoqnb