diff --git a/operator/HelloWorldSample/run.sh b/operator/HelloWorldSample/run.sh index 5e9f0024041cca41b482d37174a7a7285ac417c6..016a7617c3183d26018f54ef9afe09739153e3b4 100644 --- a/operator/HelloWorldSample/run.sh +++ b/operator/HelloWorldSample/run.sh @@ -14,10 +14,10 @@ g++ hello_world.cpp \ -I$ASCEND_HOME_DIR/compiler/tikcpp/tikcfw/interface \ -I$ASCEND_HOME_DIR/tools/tikicpulib/lib/include \ -L$ASCEND_HOME_DIR/tools/tikicpulib/lib -ltikicpulib_stubreg \ - -L$ASCEND_HOME_DIR/aarch64-linux/simulator/Ascend310P1/lib -l_pvmodel \ + -L$ASCEND_HOME_DIR/tools/simulator/Ascend310P1/lib -l_pvmodel \ -L$ASCEND_HOME_DIR/tools/tikicpulib/lib/Ascend310P1 -ltikcpp_debug \ -lstdc++ -O2 -std=c++17 -o hello_world_cpu -(export LD_LIBRARY_PATH=$ASCEND_HOME_DIR/tools/tikicpulib/lib:$ASCEND_HOME_DIR/aarch64-linux/simulator/Ascend310P1/lib:$ASCEND_HOME_DIR/tools/tikicpulib/lib/Ascend310P1:$LD_LIBRARY_PATH && ./hello_world_cpu) +(export LD_LIBRARY_PATH=$ASCEND_HOME_DIR/tools/tikicpulib/lib:$ASCEND_HOME_DIR/tools/simulator/Ascend310P1/lib:$ASCEND_HOME_DIR/tools/tikicpulib/lib/Ascend310P1:$LD_LIBRARY_PATH && ./hello_world_cpu) # npu ccec -xcce hello_world.cpp --cce-aicore-arch=dav-c100 \