@@ -19,8 +19,8 @@ ifeq ($(ARCH), MIPS)
19
19
USE_GEMM3M = 1
20
20
endif
21
21
22
- ifeq ($(BUILD_HALF ) ,1)
23
- SHBLASOBJS += shgemm_nn .$(SUFFIX ) shgemm_nt .$(SUFFIX ) shgemm_tn .$(SUFFIX ) shgemm_tt .$(SUFFIX )
22
+ ifeq ($(BUILD_BFLOAT16 ) ,1)
23
+ SHBLASOBJS += sbgemm_nn .$(SUFFIX ) sbgemm_nt .$(SUFFIX ) sbgemm_tn .$(SUFFIX ) sbgemm_tt .$(SUFFIX )
24
24
endif
25
25
26
26
SBLASOBJS += \
@@ -207,8 +207,8 @@ COMMONOBJS += gemm_thread_m.$(SUFFIX) gemm_thread_n.$(SUFFIX) gemm_thread_mn.$(
207
207
COMMONOBJS += syrk_thread.$(SUFFIX )
208
208
209
209
ifndef USE_SIMPLE_THREADED_LEVEL3
210
- ifeq ($(BUILD_HALF ) ,1)
211
- SHBLASOBJS += shgemm_thread_nn .$(SUFFIX ) shgemm_thread_nt .$(SUFFIX ) shgemm_thread_tn .$(SUFFIX ) shgemm_thread_tt .$(SUFFIX )
210
+ ifeq ($(BUILD_BFLOAT16 ) ,1)
211
+ SHBLASOBJS += sbgemm_thread_nn .$(SUFFIX ) sbgemm_thread_nt .$(SUFFIX ) sbgemm_thread_tn .$(SUFFIX ) sbgemm_thread_tt .$(SUFFIX )
212
212
endif
213
213
SBLASOBJS += sgemm_thread_nn.$(SUFFIX ) sgemm_thread_nt.$(SUFFIX ) sgemm_thread_tn.$(SUFFIX ) sgemm_thread_tt.$(SUFFIX )
214
214
DBLASOBJS += dgemm_thread_nn.$(SUFFIX ) dgemm_thread_nt.$(SUFFIX ) dgemm_thread_tn.$(SUFFIX ) dgemm_thread_tt.$(SUFFIX )
@@ -343,16 +343,16 @@ endif
343
343
344
344
all ::
345
345
346
- shgemm_nn .$(SUFFIX ) : gemm.c level3.c ../../param.h
346
+ sbgemm_nn .$(SUFFIX ) : gemm.c level3.c ../../param.h
347
347
$(CC ) $(CFLAGS ) $(BLOCKS ) -c -DHALF -UDOUBLE -UCOMPLEX -DNN $< -o $(@F )
348
348
349
- shgemm_nt .$(SUFFIX ) : gemm.c level3.c ../../param.h
349
+ sbgemm_nt .$(SUFFIX ) : gemm.c level3.c ../../param.h
350
350
$(CC ) $(CFLAGS ) $(BLOCKS ) -c -DHALF -UDOUBLE -UCOMPLEX -DNT $< -o $(@F )
351
351
352
- shgemm_tn .$(SUFFIX ) : gemm.c level3.c ../../param.h
352
+ sbgemm_tn .$(SUFFIX ) : gemm.c level3.c ../../param.h
353
353
$(CC ) $(CFLAGS ) $(BLOCKS ) -c -DHALF -UDOUBLE -UCOMPLEX -DTN $< -o $(@F )
354
354
355
- shgemm_tt .$(SUFFIX ) : gemm.c level3.c ../../param.h
355
+ sbgemm_tt .$(SUFFIX ) : gemm.c level3.c ../../param.h
356
356
$(CC ) $(CFLAGS ) $(BLOCKS ) -c -DHALF -UDOUBLE -UCOMPLEX -DTT $< -o $(@F )
357
357
358
358
sgemm_nn.$(SUFFIX ) : gemm.c level3.c ../../param.h
@@ -550,16 +550,16 @@ gemm_thread_variable.$(SUFFIX) : gemm_thread_variable.c ../../common.h
550
550
beta_thread.$(SUFFIX ) : beta_thread.c ../../common.h
551
551
$(CC ) -c $(CFLAGS ) $< -o $(@F )
552
552
553
- shgemm_thread_nn .$(SUFFIX ) : gemm.c level3_thread.c ../../param.h
553
+ sbgemm_thread_nn .$(SUFFIX ) : gemm.c level3_thread.c ../../param.h
554
554
$(CC ) $(CFLAGS ) $(BLOCKS ) -c -DTHREADED_LEVEL3 -DHALF -UDOUBLE -UCOMPLEX -DNN $< -o $(@F )
555
555
556
- shgemm_thread_nt .$(SUFFIX ) : gemm.c level3_thread.c ../../param.h
556
+ sbgemm_thread_nt .$(SUFFIX ) : gemm.c level3_thread.c ../../param.h
557
557
$(CC ) $(CFLAGS ) $(BLOCKS ) -c -DTHREADED_LEVEL3 -DHALF -UDOUBLE -UCOMPLEX -DNT $< -o $(@F )
558
558
559
- shgemm_thread_tn .$(SUFFIX ) : gemm.c level3_thread.c ../../param.h
559
+ sbgemm_thread_tn .$(SUFFIX ) : gemm.c level3_thread.c ../../param.h
560
560
$(CC ) $(CFLAGS ) $(BLOCKS ) -c -DTHREADED_LEVEL3 -DHALF -UDOUBLE -UCOMPLEX -DTN $< -o $(@F )
561
561
562
- shgemm_thread_tt .$(SUFFIX ) : gemm.c level3_thread.c ../../param.h
562
+ sbgemm_thread_tt .$(SUFFIX ) : gemm.c level3_thread.c ../../param.h
563
563
$(CC ) $(CFLAGS ) $(BLOCKS ) -c -DTHREADED_LEVEL3 -DHALF -UDOUBLE -UCOMPLEX -DTT $< -o $(@F )
564
564
565
565
sgemm_thread_nn.$(SUFFIX ) : gemm.c level3_thread.c ../../param.h
@@ -2735,16 +2735,16 @@ xtrsm_RCLU.$(SUFFIX) : trsm_R.c
2735
2735
xtrsm_RCLN.$(SUFFIX ) : trsm_R.c
2736
2736
$(CC ) -c $(CFLAGS ) -DCOMPLEX -DXDOUBLE -DTRANSA -UUPPER -UUNIT -DCONJ $< -o $(@F )
2737
2737
2738
- shgemm_nn .$(PSUFFIX ) : gemm.c level3.c ../../param.h
2738
+ sbgemm_nn .$(PSUFFIX ) : gemm.c level3.c ../../param.h
2739
2739
$(CC ) $(PFLAGS ) $(BLOCKS ) -c -DHALF -UDOUBLE -UCOMPLEX -DNN $< -o $(@F )
2740
2740
2741
- shgemm_nt .$(PSUFFIX ) : gemm.c level3.c ../../param.h
2741
+ sbgemm_nt .$(PSUFFIX ) : gemm.c level3.c ../../param.h
2742
2742
$(CC ) $(PFLAGS ) $(BLOCKS ) -c -DHALF -UDOUBLE -UCOMPLEX -DNT $< -o $(@F )
2743
2743
2744
- shgemm_tn .$(PSUFFIX ) : gemm.c level3.c ../../param.h
2744
+ sbgemm_tn .$(PSUFFIX ) : gemm.c level3.c ../../param.h
2745
2745
$(CC ) $(PFLAGS ) $(BLOCKS ) -c -DHALF -UDOUBLE -UCOMPLEX -DTN $< -o $(@F )
2746
2746
2747
- shgemm_tt .$(PSUFFIX ) : gemm.c level3.c ../../param.h
2747
+ sbgemm_tt .$(PSUFFIX ) : gemm.c level3.c ../../param.h
2748
2748
$(CC ) $(PFLAGS ) $(BLOCKS ) -c -DHALF -UDOUBLE -UCOMPLEX -DTT $< -o $(@F )
2749
2749
2750
2750
sgemm_nn.$(PSUFFIX ) : gemm.c level3.c ../../param.h
@@ -2943,16 +2943,16 @@ beta_thread.$(PSUFFIX) : beta_thread.c ../../common.h
2943
2943
$(CC ) -c $(PFLAGS ) $< -o $(@F )
2944
2944
2945
2945
2946
- shgemm_thread_nn .$(PSUFFIX ) : gemm.c level3_thread.c ../../param.h
2946
+ sbgemm_thread_nn .$(PSUFFIX ) : gemm.c level3_thread.c ../../param.h
2947
2947
$(CC ) $(PFLAGS ) $(BLOCKS ) -c -DTHREADED_LEVEL3 -DHALF -UDOUBLE -UCOMPLEX -DNN $< -o $(@F )
2948
2948
2949
- shgemm_thread_nt .$(PSUFFIX ) : gemm.c level3_thread.c ../../param.h
2949
+ sbgemm_thread_nt .$(PSUFFIX ) : gemm.c level3_thread.c ../../param.h
2950
2950
$(CC ) $(PFLAGS ) $(BLOCKS ) -c -DTHREADED_LEVEL3 -DHALF -UDOUBLE -UCOMPLEX -DNT $< -o $(@F )
2951
2951
2952
- shgemm_thread_tn .$(PSUFFIX ) : gemm.c level3_thread.c ../../param.h
2952
+ sbgemm_thread_tn .$(PSUFFIX ) : gemm.c level3_thread.c ../../param.h
2953
2953
$(CC ) $(PFLAGS ) $(BLOCKS ) -c -DTHREADED_LEVEL3 -DHALF -UDOUBLE -UCOMPLEX -DTN $< -o $(@F )
2954
2954
2955
- shgemm_thread_tt .$(PSUFFIX ) : gemm.c level3_thread.c ../../param.h
2955
+ sbgemm_thread_tt .$(PSUFFIX ) : gemm.c level3_thread.c ../../param.h
2956
2956
$(CC ) $(PFLAGS ) $(BLOCKS ) -c -DTHREADED_LEVEL3 -DHALF -UDOUBLE -UCOMPLEX -DTT $< -o $(@F )
2957
2957
2958
2958
sgemm_thread_nn.$(PSUFFIX ) : gemm.c level3_thread.c ../../param.h
0 commit comments