Megvii-BaseDetection / BEVDepth

Official code for BEVDepth.
MIT License
684 stars 94 forks source link

error detected in the compilation of "/tmp/tmpxft_00005518_00000000-6_voxel_pooling_train_forward_cuda.cpp1.ii #170

Open steven9046 opened 1 year ago

steven9046 commented 1 year ago

python setup.py develop 时报错: error detected in the compilation of "/tmp/tmpxft_00005518_00000000-6_voxel_pooling_train_forward_cuda.cpp1.ii 这个是哪里搞错了?

steven9046 commented 1 year ago

MatrixVT-weights/bevdepth/ops/voxel_pooling_train/src/voxel_pooling_train_forward_cuda.cu(60): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half , const half) detected during instantiation of "void voxel_pooling_train_forward_kernel(int, int, int, int, int, int, const int , const T , T , int *) [with T=half]" (99): here

sms95 commented 1 year ago

I also encounter the same problem when python setup.py develop

bevdepth/ops/voxel_pooling_train/src/voxel_pooling_train_forward_cuda.cu(60):` error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half , const half) detected during instantiation of "void voxel_pooling_train_forward_kernel(int, int, int, int, int, int, const int , const T , T , int *) [with T=half]" (99): here

1 error detected in the compilation of "bevdepth/ops/voxel_pooling_train/src/voxel_pooling_train_forward_cuda.cu"