Skip to content

Commit a7ac252

Browse files
author
Nursultan Zarlyk
committed
Add TCORE Generic in prebuild.cmake
During the cross-compilation on x64 host with MSVC for ARMv8, the build fails as there is no define directives for Generic core.
1 parent 648a69a commit a7ac252

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cmake/prebuild.cmake

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,15 @@ endif ()
581581
set(ZGEMM_UNROLL_M 8)
582582
set(ZGEMM_UNROLL_N 2)
583583
set(SYMV_P 8)
584+
elseif ("${TCORE}" STREQUAL "GENERIC")
585+
file(APPEND ${TARGET_CONF_TEMP}
586+
"#define L1_DATA_SIZE 32768\n"
587+
"#define L1_DATA_LINESIZE 128\n"
588+
"#define L2_SIZE 524288\n"
589+
"#define L2_LINESIZE 128 \n"
590+
"#define DTB_DEFAULT_ENTRIES 128\n"
591+
"#define DTB_SIZE 4096\n"
592+
"#define L2_ASSOCIATIVE 8\n")
584593
endif()
585594
set(SBGEMM_UNROLL_M 8)
586595
set(SBGEMM_UNROLL_N 4)

0 commit comments

Comments
 (0)