I compile and run exactly the same program in two different architectures, one local, and one remote (of course with the different libraries needed), and I get this problem:
Exception in thread "main" jcuda.CudaException: CUDA_ERROR_INVALID_VALUE at jcuda.driver.JCudaDriver.checkResult(JCudaDriver.java:282) at jcuda.driver.JCudaDriver.cuMemAlloc(JCudaDriver.java:3443)
I use JCuda and it seems that is failing doing the memory allocation ONLY in the remote device. The local one is running normally.
- could be the -ptx compiling? I use for both
nvcc -ptx filename.cu -o filename.ptx
- or may be problems in rights in the remote server?
Thanks in advice, Riccardo