CloserLook3D icon indicating copy to clipboard operation
CloserLook3D copied to clipboard

CUDA kernel failed : invalid device function

Open MingyeXu opened this issue 5 years ago • 2 comments

Thanks for the code so much. Have you meet the following problem?

CUDA kernel failed : invalid device function void masked_ordered_query_ball_point_kernel_wrapper(int, int, int, float, int, const float*, const float*, const int*, const int*, int*, int*, float*, int*) at L:109 in _ext_src/src/masked_ordered_ball_query_gpu.cu CUDA kernel failed : invalid device function void masked_ordered_query_ball_point_kernel_wrapper(int, int, int, float, int, const float*, const float*, const int*, const int*, int*, int*, float*, int*) at L:109 in _ext_src/src/masked_ordered_ball_query_gpu.cu CUDA kernel failed : invalid device function void masked_ordered_query_ball_point_kernel_wrapper(int, int, int, float, int, const float*, const float*, const int*, const int*, int*, int*, float*, int*) at L:109 in _ext_src/src/masked_ordered_ball_query_gpu.cu CUDA kernel failed : invalid device function void masked_ordered_query_ball_point_kernel_wrapper(int, int, int, float, int, const float*, const float*, const int*, const int*, int*, int*, float*, int*) at L:109 in _ext_src/src/masked_ordered_ball_query_gpu.cu Traceback (most recent call last): File "/home/xumingye/anaconda2/envs/pytorch_1.4/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/home/xumingye/anaconda2/envs/pytorch_1.4/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/xumingye/anaconda2/envs/pytorch_1.4/lib/python3.6/site-packages/torch/distributed/launch.py", line 263, in main() File "/home/xumingye/anaconda2/envs/pytorch_1.4/lib/python3.6/site-packages/torch/distributed/launch.py", line 259, in main cmd=cmd)

MingyeXu avatar Nov 19 '20 10:11 MingyeXu

Hi @MingyeXu, This may cause by the lack of GPU memory, can you reduce the batch size and try again?

zeliu98 avatar Dec 16 '20 08:12 zeliu98

Thank you so much, I'll try it.

MingyeXu avatar Dec 16 '20 08:12 MingyeXu