mirror of https://github.com/Jittor/Jittor
polish cu key
This commit is contained in:
parent
0274c22afd
commit
b3ee4a54e4
|
@ -991,7 +991,7 @@ if nvcc_path:
|
||||||
cu += "_sm_" + "_".join(s)
|
cu += "_sm_" + "_".join(s)
|
||||||
if "cuda_arch" not in os.environ:
|
if "cuda_arch" not in os.environ:
|
||||||
os.environ["cuda_arch"] = " ".join(cu)
|
os.environ["cuda_arch"] = " ".join(cu)
|
||||||
cu = cu.replace(":", "")
|
cu = cu.replace(":", "").replace(" ", "")
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
LOG.i("cuda key:", cu)
|
LOG.i("cuda key:", cu)
|
||||||
|
|
Loading…
Reference in New Issue