Skip to content

Commit

Permalink
solve torch and cub conflict (open-mmlab#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
grimoire authored Nov 9, 2021
1 parent 391ddeb commit 8208343
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend_ops/tensorrt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ else()
set(CMAKE_CUDA_HOST_COMPILER ${CMAKE_CXX_COMPILER})
set(CUDA_NVCC_FLAGS
"${CUDA_NVCC_FLAGS} -Xcompiler=-fPIC,-Wall,-fvisibility=hidden")
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -Xcompiler=-fno-gnu-unique")
endif()

# set virtual compute architecture and real ones
Expand Down

0 comments on commit 8208343

Please sign in to comment.