Skip to content

Commit cb097be

Browse files
authored
Merge pull request #2741 from martin-frbg/issue2739
Adjust A53 SGEMM parameters to reflect recent switch to 8x8 kernel
2 parents 7c02f4b + 64e2e4a commit cb097be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmake/prebuild.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,13 @@ if (DEFINED CORE AND CMAKE_CROSSCOMPILING AND NOT (${HOST_OS} STREQUAL "WINDOWSS
195195
"#define HAVE_VFP\n"
196196
"#define HAVE_NEON\n"
197197
"#define ARMV8\n")
198+
if ("${TCORE}" STREQUAL "CORTEXA57")
198199
set(SGEMM_UNROLL_M 16)
199200
set(SGEMM_UNROLL_N 4)
201+
else ()
202+
set(SGEMM_UNROLL_M 8)
203+
set(SGEMM_UNROLL_N 8)
204+
endif ()
200205
set(DGEMM_UNROLL_M 8)
201206
set(DGEMM_UNROLL_N 4)
202207
set(CGEMM_UNROLL_M 8)

0 commit comments

Comments
 (0)