Merge branch 'master' of github.com:Jittor/jittor

This commit is contained in:
Dun Liang 2022-10-26 14:31:17 +08:00
commit 9f36d52575
2 changed files with 7 additions and 5 deletions

View File

@ -9,7 +9,7 @@
# file 'LICENSE.txt', which is part of this source code package.
# ***************************************************************
__version__ = '1.3.5.19'
__version__ = '1.3.5.21'
from jittor_utils import lock
with lock.lock_scope():
ori_int = int

View File

@ -1231,15 +1231,17 @@ if has_cuda:
# from .acl_compiler import check_acl
from .extern.acl import acl_compiler
jit_utils.add_backend(acl_compiler)
has_acl = False
from .extern.rocm import rocm_compiler
jit_utils.add_backend(rocm_compiler)
from .extern.corex import corex_compiler
jit_utils.add_backend(corex_compiler)
for mod in jit_utils.backends:
mod.check()
# if mod.check():
# break
if not has_cuda:
for mod in jit_utils.backends:
mod.check()
# if mod.check():
# break
# build core
gen_jit_flags()