Skip to content

Commit

Permalink
Fix jetson cub.h
Browse files Browse the repository at this point in the history
  • Loading branch information
hiennguyen9874 authored Nov 4, 2022
1 parent 7953b63 commit 3768689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ find_package(Threads REQUIRED)
if (BUILD_PLUGINS OR BUILD_PARSERS)
include(third_party/zlib.cmake)
include(third_party/protobuf.cmake)
include(third_party/cub)
endif()
if(NOT CUB_ROOT_DIR)
if (CUDA_VERSION VERSION_LESS 11.0)
Expand All @@ -115,6 +114,7 @@ endif()
include_directories(
${CUDA_INCLUDE_DIRS}
${CUDNN_ROOT_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/third_party/cub
)
find_library(CUDNN_LIB cudnn HINTS
${CUDA_TOOLKIT_ROOT_DIR} ${CUDNN_ROOT_DIR} PATH_SUFFIXES lib64 lib)
Expand Down

0 comments on commit 3768689

Please sign in to comment.