fix: -Xcompiler -fPIC instead of -fPIC for nvcc

This commit is contained in:
2026-05-30 08:16:04 +00:00
parent adcf3e04ab
commit 63645a3c7b

View File

@@ -72,7 +72,7 @@ def _ensure_built():
nvcc,
"-std=c++20",
"-shared",
"-fPIC",
"-Xcompiler", "-fPIC",
"-gencode=arch=compute_100a,code=sm_100a",
"-gencode=arch=compute_100a,code=compute_100a",
f"-I{KERNEL_DIR}",