Hi. I’ve got the a kernel defined as followed (excerpt)
Basically there is a struct gpu_inbuffer and a member e1 that is copied into each thread’s buffer array where it gets modified and copied back afterwards. I get the following error for the memcpy line:
I get this error only when compiling the code for the device, compiling for emulation works fine and the code gives correct results. Also when trying to compile this code for the device with the -G option attached to nvcc, ptxas dies with a signal 11 (invalid memory reference).
nvcc -V gives
Could someone please provide me with some insight on that?