I am trying to compile the well-known example provided by CUDA.
I achieved to execute:
mex fft2_cuda.c -IC:\CUDA\include -LC:\CUDA\lib -lcudart -lcufft
mex fft2_cuda_sp_dp.c -IC:\CUDA\include -LC:\CUDA\lib -lcudart -lcufft
mex ifft2_cuda.c -IC:\CUDA\include -LC:\CUDA\lib -lcudart -lcufft
but I have a problem with the line:
nvmex -f nvmexopts.bat Szeta.cu -IC:\cuda\include -LC:\cuda\lib -lcufft -lcudart
I obtained the following error
"Undefined subroutine &main::uuidgen called at C:\Program Files\MATLAB\R2009a\bin\nvmex.pl line 728. "
I read that there were some problems with nvmel.pl and perl in old messages on the forum.
Does anyone has an idea to solve this problem?
Microsoft Visual C++ 2008 Express
NVIDIA Driver for Windows XP 32-bit 185.85