Skip to content

Commit

Permalink
fix(tensor-rt): allow deprecated declarations for some tensorrt packa…
Browse files Browse the repository at this point in the history
…ges (autowarefoundation#2559)

Signed-off-by: M. Fatih Cırıt <mfc@leodrive.ai>
  • Loading branch information
xmfcx authored Dec 22, 2022
1 parent 8d4793f commit 14b8ee7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/tensorrt_common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ project(tensorrt_common)
find_package(autoware_cmake REQUIRED)
autoware_package()

# TODO(tensorrt_common): Remove once upgrading to TensorRT 8.5 is complete
add_compile_options(-Wno-deprecated-declarations)

find_package(CUDA)
find_package(CUDNN)
find_package(TENSORRT)
Expand Down
3 changes: 3 additions & 0 deletions perception/lidar_centerpoint/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ project(lidar_centerpoint)
find_package(autoware_cmake REQUIRED)
autoware_package()

# TODO(lidar_centerpoint): Remove once upgrading to TensorRT 8.5 is complete
add_compile_options(-Wno-deprecated-declarations)

option(CUDA_VERBOSE "Verbose output of CUDA modules" OFF)

# set flags for CUDA availability
Expand Down
3 changes: 3 additions & 0 deletions perception/tensorrt_yolo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ project(tensorrt_yolo)
find_package(autoware_cmake REQUIRED)
autoware_package()

# TODO(tensorrt_yolo): Remove once upgrading to TensorRT 8.5 is complete
add_compile_options(-Wno-deprecated-declarations)

option(CUDA_VERBOSE "Verbose output of CUDA modules" OFF)

find_package(OpenCV REQUIRED)
Expand Down
3 changes: 3 additions & 0 deletions perception/traffic_light_ssd_fine_detector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ project(traffic_light_ssd_fine_detector)
find_package(autoware_cmake REQUIRED)
autoware_package()

# TODO(traffic_light_ssd_fine_detector): Remove once upgrading to TensorRT 8.5 is complete
add_compile_options(-Wno-deprecated-declarations)

option(CUDA_VERBOSE "Verbose output of CUDA modules" OFF)

find_package(OpenCV REQUIRED)
Expand Down

0 comments on commit 14b8ee7

Please sign in to comment.