Skip to content

Commit 6b1b451

Browse files
Add nvcc flags for building MXFP8 dim1 cast kernel for sm100a on CPU-only build runners
1 parent 83e8e60 commit 6b1b451

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
@@ -677,7 +677,7 @@ def get_extensions():
677677
],
678678
extra_compile_args={
679679
"cxx": ["-std=c++17", "-O3"],
680-
"nvcc": nvcc_args,
680+
"nvcc": nvcc_args + ["-gencode=arch=compute_100a,code=sm_100a"],
681681
},
682682
),
683683
)

0 commit comments

Comments
 (0)