Skip to content

Commit 082c9aa

Browse files
committed
free up register for skylake
1 parent c78b047 commit 082c9aa

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cmake/FindHipoDeps.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,9 @@ if (BUILD_OPENBLAS)
124124
# Force optimization even in Debug builds to avoid register spills
125125
# Force high optimization and strip debug symbols for the kernels
126126
-DCMAKE_BUILD_TYPE=Release
127-
-DCMAKE_C_FLAGS_DEBUG="-O2"
128-
-DCMAKE_C_FLAGS="-O3"
127+
-DCMAKE_C_FLAGS="-O3 -fomit-frame-pointer"
128+
-DCMAKE_C_FLAGS_RELEASE="-O3 -fomit-frame-pointer"
129+
-DCMAKE_C_FLAGS_DEBUG="-O2 -fomit-frame-pointer"
129130
-DCORE_OPTIMIZATION="-O3"
130131
)
131132
FetchContent_MakeAvailable(openblas)

0 commit comments

Comments
 (0)