No CUDA-capable device is available Get confusing exception on GeForce 8400

Hi all,

Strange behavior on Win7 x64 (VC++ 9.0 compiler). When I try to run template.exe (template example from SDK 2.3) I get an exception (no CUDA-capable device is available)

// allocate device memory
float* d_idata;
cutilSafeCall( cudaMalloc( (void**) &d_idata, mem_size)); // this call causes an error

However deviceQuery.exe shows that my device is CUDA-enabled (screenshot attached


cudadriver_2.3_winvista_64_190.38_general is installed.

Why cudaMalloc is unable to allocate the device memory?


What interesting is, that device initialization step CUT_DEVICE_INIT(argc, argv); shows using device 0: GeForce 8400M GS.

Then I removed cutil calls replacing

cutilSafeCall( cudaMalloc( (void**) &d_idata, mem_size));


cudaMalloc( (void**) &d_idata, mem_size)

I doesn’t show any errors now. But then check if kernel execution generated and error

cutilCheckMsg("Kernel execution failed");

fails with the same error message.

Can somebody understand this behavior?