The Volta 7.2 architecture for Jetson Xavier NX cannot be detected by OpenCVDetectCUDA cmake script.
- OpenCV => 4.4+
- Operating System / Platform => Ubuntu 18 arm64
- Compiler => gcc
opencv/cmake/OpenCVDetectCUDA.cmake
Line 101
in
31619fa
If the architecture 7.2 is added to the OpenCVDetectCUDA.cmake script as follows:
set(_arch_volta "7.0;7.2")
then, it detects the architecture without any problems.
For record, here’s my command that I use daily.
and OpenCV detects the native CC correctly on Xavier NX.