CloserLook3D icon indicating copy to clipboard operation
CloserLook3D copied to clipboard

CUDA kernel failed: an illegal memory access was encountered

Open cherryjm opened this issue 4 years ago • 3 comments

Hi! Thank you for your work! I met a cuda error:

CUDA kernel failed : an illegal memory access was encountered

void group_points_kernel_wrapper(int, int, int, int, int, const float*, const int*, float*) at L:43 in _ext_src/src/group_points_gpu.cu

It happens randomly. I have tried many solutions on google, but the error still exists. I don't what's wrong. Do you have any ideas about this problem?

cherryjm avatar Jul 28 '20 01:07 cherryjm

Sorry for my delay reply and thanks for your interest in our work. The problem may be that the GPU memory is not enough. Can you reduce the batch size and try again?

zeliu98 avatar Jul 30 '20 04:07 zeliu98

Hi @zeliu98 ! I set the batch size to 1, but the problem still exists.

cherryjm avatar Jul 31 '20 06:07 cherryjm

Hi @cherry-ing. That's weird, can you tell me your environment like python, CUDA and pytorch version?

zeliu98 avatar Jul 31 '20 11:07 zeliu98