Skip to content

Commit 1fec057

Browse files
authored
Add cgemm and zgemm unroll factors for core2
1 parent bf0d92a commit 1fec057

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmake/prebuild.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ if (DEFINED CORE AND CMAKE_CROSSCOMPILING AND NOT (${HOST_OS} STREQUAL "WINDOWSS
124124
set(SGEMM_UNROLL_N 4)
125125
set(DGEMM_UNROLL_M 4)
126126
set(DGEMM_UNROLL_N 4)
127+
set(CGEMM_DEFAULT_UNROLL_M 4)
128+
set(CGEMM_DEFAULT_UNROLL_N 2)
129+
set(ZGEMM_DEFAULT_UNROLL_M 2)
130+
set(ZGEMM_DEFAULT_UNROLL_N 2)
127131
elseif ("${TCORE}" STREQUAL "ARMV7")
128132
file(APPEND ${TARGET_CONF_TEMP}
129133
"#define L1_DATA_SIZE\t65536\n"

0 commit comments

Comments
 (0)