Skip to content

Commit 8d6813e

Browse files
authored
Merge pull request #3938 from martin-frbg/issue3937
Fix CMAKE-based cross-compilation to CortexA53 (wrong DGEMM setting)
2 parents 19d6795 + 50c2637 commit 8d6813e

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
@@ -886,7 +886,11 @@ else ()
886886
set(SGEMM_UNROLL_M 8)
887887
set(SGEMM_UNROLL_N 8)
888888
endif ()
889+
if ("${TCORE}" STREQUAL "CORTEXA53")
890+
set(DGEMM_UNROLL_M 4)
891+
else ()
889892
set(DGEMM_UNROLL_M 8)
893+
endif ()
890894
set(DGEMM_UNROLL_N 4)
891895
set(CGEMM_UNROLL_M 8)
892896
set(CGEMM_UNROLL_N 4)

0 commit comments

Comments
 (0)