fix: -Xcompiler -fPIC for nvcc shared library
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user