提交 df53f7f0 编写于 作者: W Wang Huan

fix bug about core_avx core_noavx, test=develop

上级 3a2bba1e
......@@ -90,7 +90,8 @@ from .io import save, load, load_program_state, set_program_state
from .dygraph.checkpoint import save_dygraph, load_dygraph
from .dygraph.varbase_patch_methods import monkey_patch_varbase
from . import generator
from .core_avx import _cuda_synchronize
from .core import _cuda_synchronize
Tensor = LoDTensor
enable_imperative = enable_dygraph
disable_imperative = disable_dygraph
......
......@@ -263,6 +263,7 @@ if avx_supported():
from .core_avx import _save_dygraph_dict
from .core_avx import _load_dygraph_dict
from .core_avx import _create_loaded_parameter
from .core_avx import _cuda_synchronize
if sys.platform != 'win32':
from .core_avx import _set_process_pids
from .core_avx import _erase_process_pids
......@@ -307,6 +308,7 @@ if load_noavx:
from .core_noavx import _save_dygraph_dict
from .core_noavx import _load_dygraph_dict
from .core_noavx import _create_loaded_parameter
from .core_noavx import _cuda_synchronize
if sys.platform != 'win32':
from .core_noavx import _set_process_pids
from .core_noavx import _erase_process_pids
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册