jetson-utils icon indicating copy to clipboard operation
jetson-utils copied to clipboard

JetsonPack 5 contradict with cmake

Open sunflower-knight opened this issue 2 years ago • 1 comments

	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

sunflower-knight avatar May 19 '22 09:05 sunflower-knight

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.

dusty-nv avatar May 19 '22 13:05 dusty-nv