forked from huawei/mindspore2022
fix cmake script and adapt to new file stucture
This commit is contained in:
parent
5c72a3c2bc
commit
db3a5f1b41
|
|
@ -34,7 +34,7 @@ else()
|
|||
set(ASCEND_TOOLKIT_RUNTIME_PATH ${ASCEND_PATH}/ascend-toolkit/latest/fwkacllib/lib64)
|
||||
set(ASCEND_TOOLKIT_PLUGIN_PATH ${ASCEND_TOOLKIT_RUNTIME_PATH}/plugin/opskernel)
|
||||
set(ASCEND_CANN_RUNTIME_PATH ${ASCEND_PATH}/latest/fwkacllib/lib64)
|
||||
set(ASCEND_CANN_PLUGIN_PATH ${ASCEND_RUNTIME_PATH}/latest/plugin/opskernel)
|
||||
set(ASCEND_CANN_PLUGIN_PATH ${ASCEND_CANN_RUNTIME_PATH}/plugin/opskernel)
|
||||
endif()
|
||||
|
||||
find_library(HCCL hccl ${ASCEND_RUNTIME_PATH} ${ASCEND_TOOLKIT_RUNTIME_PATH} ${ASCEND_CANN_RUNTIME_PATH})
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ def test_sit_lstm_forward_input_3_32_32_is_32_hs_16():
|
|||
assert np.allclose(hy.asnumpy(), hy_pynative.asnumpy(), 0.002, 0.002)
|
||||
assert np.allclose(cy.asnumpy(), cy_pynative.asnumpy(), 0.002, 0.002)
|
||||
|
||||
@pytest.mark.level0
|
||||
@pytest.mark.level1
|
||||
@pytest.mark.platform_arm_ascend_training
|
||||
@pytest.mark.platform_x86_ascend_training
|
||||
@pytest.mark.env_onecard
|
||||
|
|
|
|||
Loading…
Reference in New Issue