From b3e2d00d4328cc59317b20e9e3c40855ffcc1d3d Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 7 Aug 2024 16:51:53 +0200 Subject: [PATCH] fix invocation of gemm3m tests --- test/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/test/Makefile b/test/Makefile index 6a50b6c98..cfb2d41f5 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,6 +1,9 @@ TOPDIR = .. include ../Makefile.system ifeq ($(F_COMPILER),GFORTRAN) +ifneq (, $(filter $(CORE),LOONGSON3R3 LOONGSON3R4)) + override FFLAGS = $(filter_out(-O2 -O3,$(FFLAGS))) -O0 +endif override FFLAGS += -fno-tree-vectorize endif @@ -186,8 +189,11 @@ endif endif +ifeq ($(SUPPORT_GEMM3M),1) +level3: $(B3) $(S3) $(D3) $(C3) $(Z3) level3_3m +else level3: $(B3) $(S3) $(D3) $(C3) $(Z3) - +endif ifneq ($(CROSS), 1) rm -f ?BLAT3.SUMM @@ -260,7 +266,7 @@ endif endif -level3_3m : zblat3_3m cblat3_3m +level3_3m: zblat3_3m cblat3_3m ifneq ($(CROSS), 1) rm -f ?BLAT3_3M.SUMM OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./cblat3_3m < ./cblat3_3m.dat