jetson-utils
jetson-utils copied to clipboard
JetsonPack 5 contradict with cmake
if(CUDA_VERSION_MAJOR GREATER 10)
message("-- CUDA ${CUDA_VERSION_MAJOR} detected, enabling SM_87")
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS}; -gencode arch=compute_87,code=sm_87)
endif()
Here is the cmake in utils My JetsonNX is Jetpack5.0 and its compute is 72 ,cuda is 11.4 cuda > 10 and CUDA_NVCC_FLAGS will be set to 87 i think it is contradict.
Something change in Jetpack5.0 with Jetson ? it's compute has been change to 87? I dont know
Hi @Huang-Yujiong, this adds sm_87 (which is for Orin) for JetPack 5.0. It still has sm_72 there too, so Xavier NX is not impacted.