79075943

Date: 2024-10-10 19:52:00
Score: 0.5
Natty:
Report link

I just faced the same issue. After checking the information, I found that it was caused by incorrect setting of CUDA architecture while compiling grid_sample_3d plugin.

Set set_target_properties(${PROJECT_NAME} PROPERTIES CUDA_ARCHITECTURES “89”) in the CMakeLists.txt of the compiled plugin to the compute power adapted to your own GPU. The compute power can be found at the URL https://developer.nvidia.com/cuda-gpus. For example, if I am using a 3090, at the corresponding compute power of 8.6, I should use set_target_properties(${PROJECT_NAME} PROPERTIES CUDA_ARCHITECTURES “86”)

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: zyyyc