Closed Mercurialzhang closed 5 years ago
solved when set arch=sm_61, my gpu is Tesla M40 compile details:
bvh_extra_compile_args = {'nvcc': ['-DPRINT_TIMINGS=0', '-DDEBUG_PRINT=0',
'-DERROR_CHECKING=1',
'-DCOLLISION_ORDERING=1', '-arch=sm_61'],
I had the same issue on Ubuntu 18.04, Python 3.7, PyTorch 1.1.0, CUDA 10.0, with an Nvidia Titan Xp.
Thanks a lot @Mercurialzhang for the solution.
Note that if you already ran python setup.py install
, changing the bvh_extra_compile_args will not lead to an automatic recompilation (at least not in my case). I had to touch src/bvh_cuda_op.cu
to make sure the additional nvcc argument is used, before running python setup.py install
again.
Still Not work in CUDA 10.1, GTX 1060. I have already set the -arch=sm_61, but the problem remains.
Thanks for your excellent work! I encountered some problems when running detect_and_plot_collisions.py in the example I install torch-mesh-isect with cuda10.1 gcc5.3 torch1.1 and python3.6
Details:
Looking forward to your reply