Skip to content

Commit

Permalink
chore: set CUDA_ARCHITECTURE. This commit should not be merged.
Browse files Browse the repository at this point in the history
Signed-off-by: Shin-kyoto <[email protected]>
  • Loading branch information
Shin-kyoto committed May 30, 2024
1 parent 441a6ff commit 327c358
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions perception/tensorrt_yolox/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 3.17)
project(tensorrt_yolox)

cmake_policy(SET CMP0104 NEW)
set(CMAKE_CUDA_ARCHITECTURES 86)

find_package(tensorrt_common)
if(NOT ${tensorrt_common_FOUND})
message(WARNING "The tensorrt_common package is not found. Please check its dependencies.")
Expand Down
3 changes: 3 additions & 0 deletions perception/traffic_light_fine_detector/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 3.14)
project(traffic_light_fine_detector)

cmake_policy(SET CMP0104 NEW)
set(CMAKE_CUDA_ARCHITECTURES 86)

find_package(autoware_cmake REQUIRED)
autoware_package()

Expand Down

0 comments on commit 327c358

Please sign in to comment.