Hi,
I am trying to run the Matlab plug-in for CUDA given at the url: http://developer.nvidia.com/object/matlab_cuda.html
But i can’t make it work, i have the error:
[codebox]fft2_cuda.c
fft2_cuda.c(49) : error C2088: ‘[’ : illegal for struct
fft2_cuda.c(50) : error C2088: ‘[’ : illegal for struct
fft2_cuda.c(62) : error C2088: ‘[’ : illegal for struct
fft2_cuda.c(63) : error C2088: ‘[’ : illegal for struct
fft2_cuda.c(79) : error C2088: ‘[’ : illegal for struct
fft2_cuda.c(80) : error C2088: ‘[’ : illegal for struct
fft2_cuda.c(97) : error C2088: ‘[’ : illegal for struct
fft2_cuda.c(98) : error C2088: ‘[’ : illegal for struct
fft2_cuda.c(110) : error C2088: ‘[’ : illegal for struct
fft2_cuda.c(111) : error C2088: ‘[’ : illegal for struct
fft2_cuda.c(154) : warning C4244: ‘=’ : conversion from ‘double’ to ‘int’, possible loss of data
fft2_cuda.c(155) : warning C4244: ‘=’ : conversion from ‘double’ to ‘int’, possible loss of data
C:\MATLAB\R2010A\BIN\MEX.PL: Error: Compile of ‘fft2_cuda.c’ failed.
??? Error using ==> mex at 222
Unable to complete successfully.[/codebox]
I am using cuda toolkit 3.1, drivers 257.21 and geforce gt240.
Do you have any insight??
Is it because the code was written for cuda1.1, and how can i solve it?
Please its an urgent, matter, i am working on a project and i need to understand this quickly to meet my deadlines!
Thank you for your help !