VoxelHashing icon indicating copy to clipboard operation
VoxelHashing copied to clipboard

illegal memory access error with DepthSenseCUDA

Open ahsan-abdullah opened this issue 9 years ago • 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

ahsan-abdullah avatar Aug 31 '16 21:08 ahsan-abdullah

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

jorgearroyop avatar Nov 03 '16 20:11 jorgearroyop

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

jorgearroyop avatar Nov 04 '16 21:11 jorgearroyop

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

Ivy147 avatar Dec 08 '17 03:12 Ivy147