Browse Source
Merge pull request #2741 from martin-frbg/issue2739
Adjust A53 SGEMM parameters to reflect recent switch to 8x8 kernel
tags/v0.3.11^2
Martin Kroeker
GitHub
5 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
cmake/prebuild.cmake
|
|
|
@@ -195,8 +195,13 @@ if (DEFINED CORE AND CMAKE_CROSSCOMPILING AND NOT (${HOST_OS} STREQUAL "WINDOWSS |
|
|
|
"#define HAVE_VFP\n" |
|
|
|
"#define HAVE_NEON\n" |
|
|
|
"#define ARMV8\n") |
|
|
|
if ("${TCORE}" STREQUAL "CORTEXA57") |
|
|
|
set(SGEMM_UNROLL_M 16) |
|
|
|
set(SGEMM_UNROLL_N 4) |
|
|
|
else () |
|
|
|
set(SGEMM_UNROLL_M 8) |
|
|
|
set(SGEMM_UNROLL_N 8) |
|
|
|
endif () |
|
|
|
set(DGEMM_UNROLL_M 8) |
|
|
|
set(DGEMM_UNROLL_N 4) |
|
|
|
set(CGEMM_UNROLL_M 8) |
|
|
|
|