Skip to content

Commit f3bcdbe

Browse files
committed
Merge branch 'develop' into benchmark-link-lib
2 parents 6098a15 + 632ef87 commit f3bcdbe

162 files changed

Lines changed: 18584 additions & 815 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/dynamic_arch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ jobs:
593593
- name: Build OpenBLAS
594594
run: |
595595
cd build
596-
cmake --build . --target dgemm_thread_safety dgemm_thread_safety_mixed dgemv_thread_safety
596+
cmake --build . --target dgemm_thread_safety dgemm_thread_safety_mixed dgemm_thread_safety_shutdown dgemv_thread_safety
597597
598598
- name: Show ccache status
599599
continue-on-error: true
@@ -611,7 +611,7 @@ jobs:
611611
run: |
612612
cd build
613613
export PATH="$PWD/lib:$PATH"
614-
OPENBLAS_NUM_THREADS=8 OMP_NUM_THREADS=16 ctest -R 'dgemm_thread_safety|dgemm_thread_safety_mixed|dgemv_thread_safety' --output-on-failure
614+
OPENBLAS_NUM_THREADS=8 OMP_NUM_THREADS=16 ctest -R 'dgemm_thread_safety|dgemm_thread_safety_mixed|dgemm_thread_safety_shutdown|dgemv_thread_safety' --output-on-failure
615615
616616
617617
cross_build:

.github/workflows/loongarch64.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Install APT deps
5252
run: |
5353
sudo apt-get update && \
54-
sudo apt-get install autoconf automake autotools-dev ninja-build make ccache qemu-user-static \
54+
sudo apt-get install autoconf automake autotools-dev ninja-build make ccache \
5555
gcc-14-loongarch64-linux-gnu g++-14-loongarch64-linux-gnu gfortran-14-loongarch64-linux-gnu
5656
5757
- name: Compilation cache
@@ -70,11 +70,18 @@ jobs:
7070
echo "compression = true" >> ~/.ccache/ccache.conf
7171
ccache -s
7272
73-
- name: Disable utest dsdot:dsdot_n_1
73+
- name: Install QEMU 10.2.1
7474
run: |
75-
echo -n > utest/test_dsdot.c
76-
echo "Due to the current version of qemu causing utest cases to fail,"
77-
echo "the utest dsdot:dsdot_n_1 have been temporarily disabled."
75+
qemu_deb="${RUNNER_TEMP}/qemu-user_10.2.1+ds-1ubuntu3_amd64.deb"
76+
qemu_root="${RUNNER_TEMP}/qemu-user-10.2.1"
77+
wget --output-document="${qemu_deb}" \
78+
https://archive.ubuntu.com/ubuntu/pool/universe/q/qemu/qemu-user_10.2.1+ds-1ubuntu3_amd64.deb
79+
echo "e6bdaac070232a44b8657cad84ac0853d84b7167b55af82370af040291f55bd8 ${qemu_deb}" \
80+
| sha256sum --check -
81+
dpkg-deb --extract "${qemu_deb}" "${qemu_root}"
82+
sudo install -m 0755 "${qemu_root}/usr/bin/qemu-loongarch64" \
83+
/usr/local/bin/qemu-loongarch64-static
84+
qemu-loongarch64-static --version
7885
7986
- name: Build OpenBLAS
8087
run: |

.github/workflows/loongarch64_clang.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,6 @@ jobs:
9292
echo "compression = true" >> ~/.ccache/ccache.conf
9393
ccache -s
9494
95-
- name: Disable utest dsdot:dsdot_n_1
96-
run: |
97-
echo -n > utest/test_dsdot.c
98-
echo "Due to the qemu versions 7.2 causing utest cases to fail,"
99-
echo "the utest dsdot:dsdot_n_1 have been temporarily disabled."
100-
10195
- name: Build OpenBLAS
10296
run: make CC='ccache clang --target=loongarch64-linux-gnu --sysroot=/opt/loongson-gnu-toolchain-8.3-x86_64-loongarch64-linux-gnu-rc1.3/loongarch64-linux-gnu/sysroot/ -static' FC='ccache loongarch64-linux-gnu-gfortran -static' HOSTCC='ccache clang' CROSS_SUFFIX=llvm- NO_SHARED=1 ${{ matrix.opts }} -j$(nproc)
10397

.github/workflows/mips64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
with:
5757
repository: qemu/qemu
5858
path: qemu
59-
ref: ae35f033b874c627d81d51070187fbf55f0bf1a7
59+
ref: 3e0bcba1ca7d6607ca49a988d165f052a3a53323
6060

6161
- name: build qemu
6262
run: |

CONTRIBUTORS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,4 +283,8 @@ hheei <hheei@users.noreply.github.com>
283283
* Aadityansha Verma <https://github.com/aadityansha06>
284284
* [2026-07-14] Add independent transpose support for C in GEADD (sgeadd/dgeadd/cgeadd/zgeadd).
285285

286+
* Vincent Lovero <https://github.com/vlovero>
287+
* [2026-08-11] ARM v9.2 SME GEMM kernels for Apple M
286288

289+
* Hugo Meiland <hugo@meiland.nl>
290+
* [2026-08-09] Add Cortex-A72 DGEMM 6x8 microkernel and blocking

Changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ x86_64:
158158

159159
wasm:
160160
- added optimized kernels for STRSM and DTRSM
161+
- added a 4x4 WASM SIMD128 GEMM microkernel for SGEMM/DGEMM with matching
162+
4-wide packing and TRMM, using relaxed SIMD madd in the inner loop
163+
- gated leftover WASM TRSM call counters behind OPENBLAS_WASM_TRSM_PROFILE
161164

162165
====================================================================
163166
Version 0.3.32

Makefile.arm64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ endif
5959
endif
6060

6161
ifeq ($(CORE), ARMV9SME)
62-
CCOMMON_OPT += -march=armv9-a+sve2+sme
62+
CCOMMON_OPT += -march=armv9-a+sve2+sme+sme-f64f64
6363
FCOMMON_OPT += -march=armv9-a+sve2
6464
ifdef OS_WINDOWS
6565
ifeq ($(C_COMPILER), CLANG)
@@ -310,7 +310,7 @@ endif
310310

311311
ifeq ($(CORE), VORTEXM4)
312312
ifneq ($(C_COMPILER), GCC)
313-
CCOMMON_OPT += -march=armv8.4-a+sme
313+
CCOMMON_OPT += -march=armv8.4-a+sme+sme-f64f64
314314
#ifneq ($(APPLECLANG),1)
315315
#override LDFLAGS += -lclang_rt_builtins-aarch64
316316
#endif

Makefile.system

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ GEMM_GEMV_FORWARD = 1
285285
SBGEMM_GEMV_FORWARD = 1
286286
BGEMM_GEMV_FORWARD = 1
287287
endif
288-
ifeq ($(ARCH), riscv)
288+
ifeq ($(ARCH), riscv64)
289289
GEMM_GEMV_FORWARD = 1
290290
endif
291291
ifeq ($(ARCH), power)

Makefile.wasm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CCOMMON_OPT += -msimd128
1+
CCOMMON_OPT += -msimd128 -mrelaxed-simd

azure-pipelines.yml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
166166
- job: OSX_OpenMP
167167
pool:
168-
vmImage: 'macOS-14'
168+
vmImage: 'macOS-15'
169169
steps:
170170
- script: |
171171
brew update
@@ -175,7 +175,7 @@ jobs:
175175
176176
- job: OSX_GCC_Nothreads
177177
pool:
178-
vmImage: 'macOS-14'
178+
vmImage: 'macOS-15'
179179
steps:
180180
- script: |
181181
brew update
@@ -190,6 +190,7 @@ jobs:
190190
make CC=gcc-15 FC=gfortran-15
191191
192192
- job: OSX_LLVM_flangnew
193+
timeoutInMinutes: 100
193194
pool:
194195
vmImage: 'macOS-latest'
195196
variables:
@@ -203,6 +204,7 @@ jobs:
203204
make TARGET=NEHALEM CC=/usr/local/opt/llvm/bin/clang FC=/usr/local/opt/flang/bin/flang NO_SHARED=1
204205
205206
- job: OSX_OpenMP_Clang
207+
timeoutInMinutes: 100
206208
pool:
207209
vmImage: 'macOS-latest'
208210
variables:
@@ -216,6 +218,7 @@ jobs:
216218
make TARGET=CORE2 USE_OPENMP=1 DYNAMIC_ARCH=1 DYNAMIC_LIST='NEHALEM HASWELL SKYLAKEX' CC=/usr/local/opt/llvm/bin/clang NOFORTRAN=1
217219
218220
- job: OSX_OpenMP_Clang_cmake
221+
timeoutInMinutes: 100
219222
pool:
220223
vmImage: 'macOS-latest'
221224
variables:
@@ -233,8 +236,9 @@ jobs:
233236
ctest
234237
235238
- job: OSX_dynarch_cmake
239+
timeoutInMinutes: 100
236240
pool:
237-
vmImage: 'macOS-14'
241+
vmImage: 'macOS-15'
238242
variables:
239243
LD_LIBRARY_PATH: /usr/local/opt/llvm/lib
240244
LIBRARY_PATH: /usr/local/opt/llvm/lib
@@ -283,7 +287,7 @@ jobs:
283287
284288
- job: OSX_NDK_ARMV7
285289
pool:
286-
vmImage: 'macOS-14'
290+
vmImage: 'macOS-15'
287291
steps:
288292
- script: |
289293
brew update
@@ -293,19 +297,19 @@ jobs:
293297
294298
- job: OSX_IOS_ARMV8
295299
pool:
296-
vmImage: 'macOS-14'
300+
vmImage: 'macOS-15'
297301
variables:
298-
CC: /Applications/Xcode_16.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
299-
CFLAGS: -O2 -Wno-macro-redefined -isysroot /Applications/Xcode_16.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk -arch arm64 -miphoneos-version-min=10.0
302+
CC: /Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
303+
CFLAGS: -O2 -Wno-macro-redefined -isysroot /Applications/Xcode_16.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.5.sdk -arch arm64 -miphoneos-version-min=10.0
300304
steps:
301305
- script: |
302-
ls /Applications/Xcode_16.2.app/Contents/Developer/Platforms/
303-
ls /Applications/Xcode_16.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
306+
ls /Applications/Xcode_16.4.app/Contents/Developer/Platforms/
307+
ls /Applications/Xcode_16.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
304308
make TARGET=ARMV8 DYNAMIC_ARCH=1 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1
305309
306310
- job: OSX_IOS_ARMV7
307311
pool:
308-
vmImage: 'macOS-14'
312+
vmImage: 'macOS-15'
309313
variables:
310314
CC: /Applications/Xcode_16.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
311315
CFLAGS: -O2 -mno-thumb -Wno-macro-redefined -isysroot /Applications/Xcode_16.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.2.sdk -arch armv7 -miphoneos-version-min=5.1
@@ -315,15 +319,15 @@ jobs:
315319
316320
- job: OSX_xbuild_DYNAMIC_ARM64
317321
pool:
318-
vmImage: 'macOS-14'
322+
vmImage: 'macOS-15'
319323
variables:
320-
CC: /Applications/Xcode_16.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
321-
CFLAGS: -O2 -Wno-macro-redefined -isysroot /Applications/Xcode_16.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64
324+
CC: /Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
325+
CFLAGS: -O2 -Wno-macro-redefined -isysroot /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk -arch arm64
322326
steps:
323327
- script: |
324-
ls /Applications/Xcode_16.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
325-
/Applications/Xcode_12.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 --print-supported-cpus
326-
/Applications/Xcode_16.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --version
328+
ls /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
329+
/Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 --print-supported-cpus
330+
/Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --version
327331
make TARGET=ARMV8 DYNAMIC_ARCH=1 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1
328332
329333
- job: ALPINE_MUSL

0 commit comments

Comments
 (0)