Skip to content

Commit 096ae6f

Browse files
authored
Merge pull request #3709 from nursik/develop
Add TCORE Generic
2 parents 19fefd1 + a7ac252 commit 096ae6f

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)