mirror of https://github.com/Jittor/Jittor
polish backend compiler
This commit is contained in:
parent
344e13948c
commit
bc7467dbff
|
@ -9,7 +9,7 @@
|
||||||
# file 'LICENSE.txt', which is part of this source code package.
|
# file 'LICENSE.txt', which is part of this source code package.
|
||||||
# ***************************************************************
|
# ***************************************************************
|
||||||
|
|
||||||
__version__ = '1.3.5.23'
|
__version__ = '1.3.5.24'
|
||||||
from jittor_utils import lock
|
from jittor_utils import lock
|
||||||
with lock.lock_scope():
|
with lock.lock_scope():
|
||||||
ori_int = int
|
ori_int = int
|
||||||
|
|
|
@ -1231,13 +1231,11 @@ if has_cuda:
|
||||||
# from .acl_compiler import check_acl
|
# from .acl_compiler import check_acl
|
||||||
from .extern.acl import acl_compiler
|
from .extern.acl import acl_compiler
|
||||||
jit_utils.add_backend(acl_compiler)
|
jit_utils.add_backend(acl_compiler)
|
||||||
has_acl = False
|
|
||||||
from .extern.rocm import rocm_compiler
|
from .extern.rocm import rocm_compiler
|
||||||
jit_utils.add_backend(rocm_compiler)
|
jit_utils.add_backend(rocm_compiler)
|
||||||
from .extern.corex import corex_compiler
|
from .extern.corex import corex_compiler
|
||||||
jit_utils.add_backend(corex_compiler)
|
jit_utils.add_backend(corex_compiler)
|
||||||
|
|
||||||
if not has_cuda:
|
|
||||||
for mod in jit_utils.backends:
|
for mod in jit_utils.backends:
|
||||||
if mod.check():
|
if mod.check():
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue