Removing compute_86 requirement allows the jetson nano (with cuda 10.2) to compile and run this code

pull/93/head
stephen 2 years ago
parent d9687b12c1
commit f6174881ad
  1. 2
      csrc/jetson/detect/CMakeLists.txt

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 2.8.12) cmake_minimum_required(VERSION 2.8.12)
set(CMAKE_CUDA_ARCHITECTURES 60 61 62 70 72 75 86) set(CMAKE_CUDA_ARCHITECTURES 60 61 62 70 72 75)
set(CMAKE_CUDA_COMPILER /usr/local/cuda/bin/nvcc) set(CMAKE_CUDA_COMPILER /usr/local/cuda/bin/nvcc)
project(yolov8 LANGUAGES CXX CUDA) project(yolov8 LANGUAGES CXX CUDA)

Loading…
Cancel
Save