Browse Source

Merge pull request #3709 from nursik/develop

Add TCORE Generic
tags/v0.3.21
Martin Kroeker GitHub 3 years ago
parent
commit
096ae6f2bd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      cmake/prebuild.cmake

+ 9
- 0
cmake/prebuild.cmake View File

@@ -581,6 +581,15 @@ endif ()
set(ZGEMM_UNROLL_M 8) set(ZGEMM_UNROLL_M 8)
set(ZGEMM_UNROLL_N 2) set(ZGEMM_UNROLL_N 2)
set(SYMV_P 8) set(SYMV_P 8)
elseif ("${TCORE}" STREQUAL "GENERIC")
file(APPEND ${TARGET_CONF_TEMP}
"#define L1_DATA_SIZE 32768\n"
"#define L1_DATA_LINESIZE 128\n"
"#define L2_SIZE 524288\n"
"#define L2_LINESIZE 128 \n"
"#define DTB_DEFAULT_ENTRIES 128\n"
"#define DTB_SIZE 4096\n"
"#define L2_ASSOCIATIVE 8\n")
endif() endif()
set(SBGEMM_UNROLL_M 8) set(SBGEMM_UNROLL_M 8)
set(SBGEMM_UNROLL_N 4) set(SBGEMM_UNROLL_N 4)


Loading…
Cancel
Save