From 171f04c5594970e0f6bf7ade85824cdb947e65fc Mon Sep 17 00:00:00 2001 From: LUlululu1616 <14651283+lulululu1616@user.noreply.gitee.com> Date: Fri, 5 Jul 2024 13:32:12 +0000 Subject: [PATCH] update operator/HelloWorldSample/CMakeLists.txt. Signed-off-by: LUlululu1616 <14651283+lulululu1616@user.noreply.gitee.com> --- operator/HelloWorldSample/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/operator/HelloWorldSample/CMakeLists.txt b/operator/HelloWorldSample/CMakeLists.txt index 9e7904378..44ed8336a 100644 --- a/operator/HelloWorldSample/CMakeLists.txt +++ b/operator/HelloWorldSample/CMakeLists.txt @@ -5,8 +5,8 @@ cmake_minimum_required(VERSION 3.16.0) # project information project(Ascend_C) -set(SOC_VERSION "Ascend310P3" CACHE STRING "system on chip type") -set(ASCEND_CANN_PACKAGE_PATH "/usr/local/Ascend/ascend-toolkit/latest" CACHE PATH "ASCEND CANN package installation directory") +set(SOC_VERSION "Ascend910B4" CACHE STRING "system on chip type") +set(ASCEND_CANN_PACKAGE_PATH "/home/myuser/Ascend/ascend-toolkit/latest" CACHE PATH "ASCEND CANN package installation directory") set(RUN_MODE "npu" CACHE STRING "run mode: npu") set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type Release/Debug (default Debug)" FORCE) set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}/out" CACHE STRING "path for install()" FORCE) -- Gitee