fix: -Xcompiler -fPIC for nvcc shared library

This commit is contained in:
2026-05-28 05:22:15 +00:00
parent 4dfb71bc20
commit 97df02ea07

View File

@@ -32,7 +32,7 @@ def compile_kernel():
f"{CUDA}/bin/nvcc",
"--std=c++20",
"-shared",
"-fPIC",
"-Xcompiler", "-fPIC",
f"-gencode=arch=compute_100a,code=sm_100a",
f"-I{REPO}",
f"-I{CUTLASS}/include",