cudaMalloc: allocation of cufftComplex buffer fails

Hello,

Under Win7-64 I installed CUDA 7.0.28 and also the cuFFT patch.

I ran the following code:

cudaStatus = cudaSetDevice (0);

cudaStatus = cudaMalloc ((void**)&data,sizeof(cufftComplex)*16);

For both calls I got cudaStatus = cudaSuccess.
But according to the V.S 2010 debugger the “data” pointer has no address.

It seems it is only a debugger problem.
When I tried to run cudaMemcpy from host to the “data” pointer on the device it worked fine.

Best regards,
Z.V