NVIDIA / MinkowskiEngine

Minkowski Engine is an auto-diff neural network library for high-dimensional sparse tensors
https://nvidia.github.io/MinkowskiEngine
Other
2.43k stars 360 forks source link

it seems like the MinkowskiEngine is not compatible with CUDA 12 #594

Open djx6666 opened 3 months ago

djx6666 commented 3 months ago

/home/wuhao/djx/oneformer3d/MinkowskiEngine/src/3rdparty/concurrent_unordered_map.cuh(503): error: namespace "thrust" has no member "device" return thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity, ^

1 error detected in the compilation of "/home/wuhao/djx/oneformer3d/MinkowskiEngine/src/broadcast_gpu.cu". error: command '/usr/local/cuda-12.1/bin/nvcc' failed with exit code 2

kaoutar-elmouh commented 3 months ago

helle @djx6666 Have you found the solution?

ijliu commented 1 month ago

/home/wuhao/djx/oneformer3d/MinkowskiEngine/src/3rdparty/concurrent_unordered_map.cuh(503): error: namespace "thrust" has no member "device" return thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity, ^

1 error detected in the compilation of "/home/wuhao/djx/oneformer3d/MinkowskiEngine/src/broadcast_gpu.cu". error: command '/usr/local/cuda-12.1/bin/nvcc' failed with exit code 2

543

596

I encountered a similar issue, and I found some valuable information here. I've now successfully compiled in a cuda12.4 + g++11 environment.