From 803a1000efef4c2ed209a271a4818d9eb51bd8a9 Mon Sep 17 00:00:00 2001 From: yourui <345609392@qq.com> Date: Wed, 6 Dec 2023 06:51:53 +0000 Subject: [PATCH] =?UTF-8?q?update=20operator/HelloWorldSample/run.sh.=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC:=207.0.RC1.alpha002/x86=5F64-linux=20simulat?= =?UTF-8?q?or=E7=9A=84=E5=9C=B0=E5=9D=80=E5=BA=94=E8=AF=A5=E6=98=AF$ASCEND?= =?UTF-8?q?=5FHOME=5FDIR/tools/simulator,=20=E8=80=8C=E4=B8=8D=E6=98=AF$AS?= =?UTF-8?q?CEND=5FHOME=5FDIR/aarch64-linux/simulator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yourui <345609392@qq.com> --- operator/HelloWorldSample/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/operator/HelloWorldSample/run.sh b/operator/HelloWorldSample/run.sh index 5e9f00240..016a7617c 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 \ -- Gitee