it seems like the MinkowskiEngine is not compatible with CUDA 12
/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
helle @djx6666 Have you found the solution?
/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.
@ijliu , have you tried successfully compiling with a docker container? If so, could you send out that Dockerfile?
@ijliu , have you tried successfully compiling with a docker container? If so, could you send out that Dockerfile?
Sorry, I haven't compiled in docker before, so I can't provide you with the relevant Dockerfile.
/home/wuhao/djx/oneformer3d/MinkowskiEngine/src/3rdparty/concurrent_unordered_map.cuh(503): 错误:命名空间“thrust”没有成员“device”返回thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity, ^ 在编译“/home/wuhao/djx/oneformer3d/MinkowskiEngine/src/broadcast_gpu.cu”时检测到 1 个错误。错误:命令‘/usr/local/cuda-12.1/bin/nvcc’失败,退出代码为 2
#543 #596 我遇到了类似的问题,在这里找到了一些有价值的信息。我现在已经在 cuda12.4 + g++11 环境中成功编译。
How did you solve this problem,could you please tell me?
/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.
Love you ^_^, help a lot