mirror of https://github.com/Jittor/Jittor
fix windows mkl bug
This commit is contained in:
parent
16b7966a9a
commit
7a83dcf09e
|
@ -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.7.1'
|
__version__ = '1.3.7.2'
|
||||||
from jittor_utils import lock
|
from jittor_utils import lock
|
||||||
with lock.lock_scope():
|
with lock.lock_scope():
|
||||||
ori_int = int
|
ori_int = int
|
||||||
|
|
|
@ -89,7 +89,7 @@ def install_mkl(root_folder):
|
||||||
|
|
||||||
assert 0 == os.system(cmd)
|
assert 0 == os.system(cmd)
|
||||||
assert 0 == os.system(f"{dirname}/examples/test")
|
assert 0 == os.system(f"{dirname}/examples/test")
|
||||||
if platform.system() == "Darwin":
|
elif platform.system() == "Darwin":
|
||||||
assert 0 == os.system(f"cd {dirname}/examples && "
|
assert 0 == os.system(f"cd {dirname}/examples && "
|
||||||
f"{cc_path} -std=c++14 cnn_inference_f32.cpp -Ofast -lmkldnn -I ../include -L ../lib -o test && DYLD_LIBRARY_PATH=../lib/ ./test")
|
f"{cc_path} -std=c++14 cnn_inference_f32.cpp -Ofast -lmkldnn -I ../include -L ../lib -o test && DYLD_LIBRARY_PATH=../lib/ ./test")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue