First time scratching with CUDA…
Does anybody know if there’s a limit on count bytes that can be transfered from host to device? I get an ‘unknown error’ (program exits, kernel won’t execute, I only receive a message: “CUDA: Unknown error on line 219”) on line 2 of the following code:
CUDA_SAFE_CALL(cudaMalloc((void**)&d_ret, byte_rsize)); CUDA_SAFE_CALL(cudaMemcpy(d_ret, ret, byte_rsize, cudaMemcpyHostToDevice));
I’m running CUDA 1.1 on EmuDebug. byte_rsize is 8.000.000. Allocation seems to work fine. If I reduce byte_rsize to 7.000.000, program works fine. Is there a limit or something?
thanks in advance!