I’m new in CUDA programming and I’m using MS VS2008 and cufft library.
I tried to run solution which contains this scrap of code:
cufftHandle abc; cufftResult res1=cufftPlan1d(&abc, 128, CUFFT_Z2Z, 1);
and in “res1” I have still error 0x4: CUFFT_INVALID_VALUE.
I tried to run my application on various types of CUDA hardware, on winxp64 and Windows 7x64. I tried to run only mexw64 library with matlab and also winapi in VS2010. I used cufft 3.2 and 4.0 (for x64 system). And I had still the same error. Compiler give no errors (but in VS2010, if I make a new .cu file to changing CUDA settings in Solution properties, I have “error 2” - I’ve readed that the reason of this is that cufft not supports VS2010 correctly).
I checked my mexw library by Dependency Walker and there were no errors. Cufft error 0x4 is still the same, if I’m running my aplicattion on software without CUDA.
Where should I search the fault?