Skip to content

Commit 2f89a59

Browse files
authored
fix NeoverseV2 typo
1 parent 87247da commit 2f89a59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/system.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ if (${TARGET} STREQUAL NEOVERSEV1)
338338
endif()
339339
endif()
340340
endif()
341-
if (${TARGET} STREQUAL NEOVERSEN2)
341+
if (${TARGET} STREQUAL NEOVERSEV2)
342342
if (${CMAKE_C_COMPILER_ID} STREQUAL "PGI" AND NOT NO_SVE)
343343
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -Msve-intrinsics -march=armv9-a+sve+sve2+bf16 -mtune=neoverse-v2")
344344
else ()
@@ -347,7 +347,7 @@ if (${TARGET} STREQUAL NEOVERSEV1)
347347
elseif (CMAKE_C_COMPILER_VERSION VERSION_GREATER 10.4 OR CMAKE_C_COMPILER_VERSION VERSION_EQUAL 10.4)
348348
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -march=armv8.4-a+sve+bf16 -mtune=neoverse-v1")
349349
else ()
350-
message(FATAL_ERROR "Compiler $${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_VERSION} does not support Neoverse N2.")
350+
message(FATAL_ERROR "Compiler $${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_VERSION} does not support Neoverse V2.")
351351
endif()
352352
endif()
353353
endif()

0 commit comments

Comments
 (0)