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?