File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -104,11 +104,19 @@ def append_nvcc_threads(nvcc_extra_args):
104104 f"{ PACKAGE_NAME } is only supported on CUDA 11.6 and above. "
105105 "Note: make sure nvcc has a supported version by running nvcc -V."
106106 )
107-
107+
108+ cc_flag .append ("-gencode" )
109+ cc_flag .append ("arch=compute_53,code=sm_53" )
110+ cc_flag .append ("-gencode" )
111+ cc_flag .append ("arch=compute_62,code=sm_62" )
108112 cc_flag .append ("-gencode" )
109113 cc_flag .append ("arch=compute_70,code=sm_70" )
110114 cc_flag .append ("-gencode" )
115+ cc_flag .append ("arch=compute_72,code=sm_72" )
116+ cc_flag .append ("-gencode" )
111117 cc_flag .append ("arch=compute_80,code=sm_80" )
118+ cc_flag .append ("-gencode" )
119+ cc_flag .append ("arch=compute_87,code=sm_87" )
112120 if bare_metal_version >= Version ("11.8" ):
113121 cc_flag .append ("-gencode" )
114122 cc_flag .append ("arch=compute_90,code=sm_90" )
You can’t perform that action at this time.
0 commit comments