mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 20:42:53 +08:00
add support for Orin GPU
This commit is contained in:
parent
5e1c9099e8
commit
2336b0706d
@ -243,12 +243,13 @@ if(CUDA_FOUND)
|
|||||||
endif()
|
endif()
|
||||||
if(NOT _nvcc_res EQUAL 0)
|
if(NOT _nvcc_res EQUAL 0)
|
||||||
message(STATUS "Automatic detection of CUDA generation failed. Going to build for all known architectures.")
|
message(STATUS "Automatic detection of CUDA generation failed. Going to build for all known architectures.")
|
||||||
# TX1 (5.3) TX2 (6.2) Xavier (7.2) V100 (7.0)
|
# TX1 (5.3) TX2 (6.2) Xavier (7.2) V100 (7.0) Orin (8.7)
|
||||||
ocv_filter_available_architecture(__cuda_arch_bin
|
ocv_filter_available_architecture(__cuda_arch_bin
|
||||||
5.3
|
5.3
|
||||||
6.2
|
6.2
|
||||||
7.2
|
7.2
|
||||||
7.0
|
7.0
|
||||||
|
8.7
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
set(__cuda_arch_bin "${_nvcc_out}")
|
set(__cuda_arch_bin "${_nvcc_out}")
|
||||||
|
Loading…
Reference in New Issue
Block a user