Hi!
Today I recompiled my cuda 2.3 project with the new cuda 3.0 release and I got the following problem:
On the second call to the function cudaMemcpy, CUDA_SAFE_CALL returns the following error message: “Cuda error in file ‘xxxx’ in line 291: invalid argument”
This is the line 291:
CUDA_SAFE_CALL(cudaMemcpy(cuhmod,hmod,sizeof(float)*nfields,
cudaMemcpyHostToDevice));
cuhmod and hmod are float pointers, and nfiedls is an integer.
The code is the same that when I compiled with version 2.3 … the only thing I changed was the driver and the version of the CUDA Toolkit and SDK to 3.0
Does anyone else have the same problem? Is this a bug or was the call changed compared to cuda 2.3?
Thanks!!
Javier.