Skip to content

Commit 129c488

Browse files
authored
fix sm100 cuda bare metal version condition (#23)
1 parent 4594274 commit 129c488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def append_nvcc_threads(nvcc_extra_args):
112112
if bare_metal_version >= Version("11.8"):
113113
cc_flag.append("-gencode")
114114
cc_flag.append("arch=compute_90,code=sm_90")
115-
if bare_metal_version >= Version("12.8.1"):
115+
if bare_metal_version >= Version("12.8"):
116116
cc_flag.append("-gencode")
117117
cc_flag.append("arch=compute_100,code=sm_100")
118118

0 commit comments

Comments
 (0)