We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 524574a commit db5d313Copy full SHA for db5d313
aten/src/ATen/CMakeLists.txt
@@ -206,6 +206,12 @@ IF(USE_CUDA AND NOT USE_ROCM)
206
--generate-code arch=compute_50,code=sm_50
207
--generate-code arch=compute_60,code=sm_60
208
--generate-code arch=compute_70,code=sm_70)
209
+ elseif(${CUDA_VERSION_MAJOR} EQUAL "10")
210
+ SET(CUFFT_FAKELINK_OPTIONS
211
+ --generate-code arch=compute_35,code=sm_35
212
+ --generate-code arch=compute_50,code=sm_50
213
+ --generate-code arch=compute_60,code=sm_60
214
+ --generate-code arch=compute_70,code=sm_70)
215
else()
216
MESSAGE(FATAL_ERROR "Unhandled major cuda version ${CUDA_VERSION_MAJOR}")
217
endif()
0 commit comments