Hello, I'm trying to compile the 3Dcode, but I get the following message:
MatrixClasses/CUFFTComplexMatrix.cpp: In static member function ‘static void TCUFFTComplexMatrix::Create_FFT_Plan_3D_R2C(const TDimensionSizes&)’:
MatrixClasses/CUFFTComplexMatrix.cpp:113:60: error: ‘CUFFT_COMPATIBILITY_NATIVE’ was not declared in this scope
cufftError = cufftSetCompatibilityMode(cufftPlan_3D_R2C, CUFFT_COMPATIBILITY_NATIVE);
^
MatrixClasses/CUFFTComplexMatrix.cpp: In static member function ‘static void TCUFFTComplexMatrix::Create_FFT_Plan_3D_C2R(const TDimensionSizes&)’:
MatrixClasses/CUFFTComplexMatrix.cpp:139:61: error: ‘CUFFT_COMPATIBILITY_NATIVE’ was not declared in this scope
cufftError = cufftSetCompatibilityMode(cufftPlan_3D_C2R, CUFFT_COMPATIBILITY_NATIVE);
^
MatrixClasses/CUFFTComplexMatrix.cpp: In static member function ‘static void TCUFFTComplexMatrix::Create_FFT_Plan_1DX_R2C(const TDimensionSizes&)’:
MatrixClasses/CUFFTComplexMatrix.cpp:189:62: error: ‘CUFFT_COMPATIBILITY_NATIVE’ was not declared in this scope
cufftError = cufftSetCompatibilityMode(cufftPlan_1DX_R2C, CUFFT_COMPATIBILITY_NATIVE);
^
MatrixClasses/CUFFTComplexMatrix.cpp: In static member function ‘static void TCUFFTComplexMatrix::Create_FFT_Plan_1DY_R2C(const TDimensionSizes&)’:
MatrixClasses/CUFFTComplexMatrix.cpp:238:62: error: ‘CUFFT_COMPATIBILITY_NATIVE’ was not declared in this scope
cufftError = cufftSetCompatibilityMode(cufftPlan_1DY_R2C, CUFFT_COMPATIBILITY_NATIVE);
^
MatrixClasses/CUFFTComplexMatrix.cpp: In static member function ‘static void TCUFFTComplexMatrix::Create_FFT_Plan_1DZ_R2C(const TDimensionSizes&)’:
MatrixClasses/CUFFTComplexMatrix.cpp:285:62: error: ‘CUFFT_COMPATIBILITY_NATIVE’ was not declared in this scope
cufftError = cufftSetCompatibilityMode(cufftPlan_1DZ_R2C, CUFFT_COMPATIBILITY_NATIVE);
^
MatrixClasses/CUFFTComplexMatrix.cpp: In static member function ‘static void TCUFFTComplexMatrix::Create_FFT_Plan_1DX_C2R(const TDimensionSizes&)’:
MatrixClasses/CUFFTComplexMatrix.cpp:335:62: error: ‘CUFFT_COMPATIBILITY_NATIVE’ was not declared in this scope
cufftError = cufftSetCompatibilityMode(cufftPlan_1DX_C2R, CUFFT_COMPATIBILITY_NATIVE);
^
MatrixClasses/CUFFTComplexMatrix.cpp: In static member function ‘static void TCUFFTComplexMatrix::Create_FFT_Plan_1DY_C2R(const TDimensionSizes&)’:
MatrixClasses/CUFFTComplexMatrix.cpp:383:62: error: ‘CUFFT_COMPATIBILITY_NATIVE’ was not declared in this scope
cufftError = cufftSetCompatibilityMode(cufftPlan_1DY_C2R, CUFFT_COMPATIBILITY_NATIVE);
^
MatrixClasses/CUFFTComplexMatrix.cpp: In static member function ‘static void TCUFFTComplexMatrix::Create_FFT_Plan_1DZ_C2R(const TDimensionSizes&)’:
MatrixClasses/CUFFTComplexMatrix.cpp:432:62: error: ‘CUFFT_COMPATIBILITY_NATIVE’ was not declared in this scope
cufftError = cufftSetCompatibilityMode(cufftPlan_1DZ_C2R, CUFFT_COMPATIBILITY_NATIVE);
^
<builtin>: recipe for target 'MatrixClasses/CUFFTComplexMatrix.o' failed
make: *** [MatrixClasses/CUFFTComplexMatrix.o] Error 1
Can anyone help me?
Thanks,
Luca.