niessner/VoxelHashing

illegal memory access error with DepthSenseCUDA

ahsan-abdullah opened this issue · 3 comments

Hi,

I am getting a cudaSafeCall() Runtime API error 77: an illegal memory access was encountered error after like 4 5 seconds of scan in the CUDA project. Do you have any ideas why it might be?

I am using KinectOne (the new Kinect) with NVIDIA Quadro K4200 GPU on Visual Studio 2012, Windows 10.

Thanks,
Ahsan

Hi,
I'm experiencing a similar problem: error is thrown after 45 seconds (aprox) of scanning in the CUDA project:
Source\CUDAScan.cpp(36) : cudaSafeCall() Runtime API error 4: unspecified launch failure

The line of code where the error is pointing is:
cutilSafeCall(cudaMemcpy(&sum, &d_output[numElements - 1], sizeof(int), cudaMemcpyDeviceToHost));

Thanks
Jorge

Hi,
It seems that the error involved the cudaMemcpy from device to Host. One simple solution I found was increasing the voxel size in the zParametersDefault.txt.

s_SDFVoxelSize = 0.006f

Jorge

I got this error too.
And change a better video card with bigger memory is a solution.