Skip to content

Commit 1e8659e

Browse files
authored
CANN: Add SOC TYPE printing in cmake configuration (#13837)
1 parent a3c3084 commit 1e8659e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml/src/ggml-cann/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ string(TOLOWER ${SOC_TYPE} SOC_VERSION) # SOC_VERSION need lower
3030
string(REGEX MATCH "[0-9]+[a-zA-Z]" SOC_TYPE_MAJOR_SN "${SOC_VERSION}")
3131
set(SOC_TYPE_COMPILE_OPTION "ASCEND_${SOC_TYPE_MAJOR_SN}")
3232
string(TOUPPER ${SOC_TYPE_COMPILE_OPTION} SOC_TYPE_COMPILE_OPTION)
33+
message(STATUS "CANN: SOC_VERSION = ${SOC_VERSION}")
3334

3435
if (CANN_INSTALL_DIR)
3536
# Only Support Linux.

0 commit comments

Comments
 (0)