forked from maxjhandsome/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.
|
||||
# ***************************************************************
|
||||
|
||||
__version__ = '1.3.5.23'
|
||||
__version__ = '1.3.5.24'
|
||||
from jittor_utils import lock
|
||||
with lock.lock_scope():
|
||||
ori_int = int
|
||||
|
|
|
@ -1231,16 +1231,14 @@ 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)
|
||||
|
||||
if not has_cuda:
|
||||
for mod in jit_utils.backends:
|
||||
if mod.check():
|
||||
break
|
||||
for mod in jit_utils.backends:
|
||||
if mod.check():
|
||||
break
|
||||
|
||||
# build core
|
||||
gen_jit_flags()
|
||||
|
|
Loading…
Reference in New Issue