Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA kernel failed: an illegal memory access was encountered #3

Open
cherryjm opened this issue Jul 28, 2020 · 3 comments
Open

CUDA kernel failed: an illegal memory access was encountered #3

cherryjm opened this issue Jul 28, 2020 · 3 comments

Comments

@cherryjm
Copy link

cherryjm commented Jul 28, 2020

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?

@zeliu98
Copy link
Owner

zeliu98 commented Jul 30, 2020

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?

@cherryjm
Copy link
Author

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

@zeliu98
Copy link
Owner

zeliu98 commented Jul 31, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants