mirror of https://github.com/Jittor/Jittor
polish nvcc_flags
This commit is contained in:
parent
e9aca0444c
commit
8c0f66c638
|
@ -9,7 +9,7 @@
|
|||
# file 'LICENSE.txt', which is part of this source code package.
|
||||
# ***************************************************************
|
||||
|
||||
__version__ = '1.3.1.38'
|
||||
__version__ = '1.3.1.39'
|
||||
from jittor_utils import lock
|
||||
with lock.lock_scope():
|
||||
ori_int = int
|
||||
|
|
|
@ -1314,7 +1314,8 @@ with jit_utils.import_scope(import_flags):
|
|||
flags = core.Flags()
|
||||
|
||||
if has_cuda:
|
||||
nvcc_flags = convert_nvcc_flags(cc_flags)
|
||||
nvcc_flags = " " + os.environ.get("nvcc_flags", "") + " "
|
||||
nvcc_flags += convert_nvcc_flags(cc_flags)
|
||||
nvcc_version = list(jit_utils.get_int_version(nvcc_path))
|
||||
max_arch = 1000
|
||||
if nvcc_version < [11,]:
|
||||
|
|
Loading…
Reference in New Issue