@@ -46,10 +46,10 @@ SBLAS3OBJS = \
46
46
somatcopy.$(SUFFIX ) simatcopy.$(SUFFIX ) \
47
47
sgeadd.$(SUFFIX )
48
48
49
- ifeq ($(BUILD_HALF ) ,1)
50
- SHBLAS1OBJS = shdot .$(SUFFIX )
51
- SHBLAS3OBJS = shgemm .$(SUFFIX )
52
- SHEXTOBJS = shstobf16 .$(SUFFIX ) shdtobf16 .$(SUFFIX ) sbf16tos.$(SUFFIX ) dbf16tod.$(SUFFIX )
49
+ ifeq ($(BUILD_BFLOAT16 ) ,1)
50
+ SBBLAS1OBJS = sbdot .$(SUFFIX )
51
+ SBBLAS3OBJS = sbgemm .$(SUFFIX )
52
+ SBEXTOBJS = sbstobf16 .$(SUFFIX ) sbdtobf16 .$(SUFFIX ) sbf16tos.$(SUFFIX ) dbf16tod.$(SUFFIX )
53
53
endif
54
54
55
55
DBLAS1OBJS = \
@@ -282,10 +282,10 @@ CSBLAS3OBJS = \
282
282
cblas_ssyrk.$(SUFFIX ) cblas_ssyr2k.$(SUFFIX ) cblas_somatcopy.$(SUFFIX ) cblas_simatcopy.$(SUFFIX ) \
283
283
cblas_sgeadd.$(SUFFIX )
284
284
285
- ifeq ($(BUILD_HALF ) ,1)
286
- CSHBLAS1OBJS = cblas_shdot .$(SUFFIX )
287
- CSHBLAS3OBJS = cblas_shgemm .$(SUFFIX )
288
- CSHEXTOBJS = cblas_shstobf16 .$(SUFFIX ) cblas_shdtobf16 .$(SUFFIX ) cblas_sbf16tos.$(SUFFIX ) cblas_dbf16tod.$(SUFFIX )
285
+ ifeq ($(BUILD_BFLOAT16 ) ,1)
286
+ CBHBLAS1OBJS = cblas_sbdot .$(SUFFIX )
287
+ CBHBLAS3OBJS = cblas_sbgemm .$(SUFFIX )
288
+ CBHEXTOBJS = cblas_sbstobf16 .$(SUFFIX ) cblas_sbdtobf16 .$(SUFFIX ) cblas_sbf16tos.$(SUFFIX ) cblas_dbf16tod.$(SUFFIX )
289
289
endif
290
290
291
291
CDBLAS1OBJS = \
@@ -381,8 +381,8 @@ override CFLAGS += -I.
381
381
SBLAS1OBJS += $(CSBLAS1OBJS )
382
382
SBLAS2OBJS += $(CSBLAS2OBJS )
383
383
SBLAS3OBJS += $(CSBLAS3OBJS )
384
- SHBLAS1OBJS += $(CSHBLAS1OBJS )
385
- SHBLAS3OBJS += $(CSHBLAS3OBJS )
384
+ SBBLAS1OBJS += $(CSBBLAS1OBJS )
385
+ SBBLAS3OBJS += $(CSBBLAS3OBJS )
386
386
DBLAS1OBJS += $(CDBLAS1OBJS )
387
387
DBLAS2OBJS += $(CDBLAS2OBJS )
388
388
DBLAS3OBJS += $(CDBLAS3OBJS )
@@ -393,13 +393,13 @@ ZBLAS1OBJS += $(CZBLAS1OBJS)
393
393
ZBLAS2OBJS += $(CZBLAS2OBJS )
394
394
ZBLAS3OBJS += $(CZBLAS3OBJS )
395
395
396
- SHEXTOBJS += $(CSHEXTOBJS )
396
+ SBEXTOBJS += $(CSBEXTOBJS )
397
397
398
398
CBAUXOBJS += $(CXERBLAOBJ )
399
399
endif
400
400
401
401
SBLASOBJS = $(SBLAS1OBJS ) $(SBLAS2OBJS ) $(SBLAS3OBJS )
402
- SHBLASOBJS = $(SHBLAS1OBJS ) $(SHBLAS3OBJS )
402
+ SBBLASOBJS = $(SBBLAS1OBJS ) $(SBBLAS3OBJS )
403
403
DBLASOBJS = $(DBLAS1OBJS ) $(DBLAS2OBJS ) $(DBLAS3OBJS )
404
404
QBLASOBJS = $(QBLAS1OBJS ) $(QBLAS2OBJS ) $(QBLAS3OBJS )
405
405
CBLASOBJS = $(CBLAS1OBJS ) $(CBLAS2OBJS ) $(CBLAS3OBJS )
@@ -506,7 +506,7 @@ ifneq ($(BUILD_COMPLEX16),1)
506
506
ZBLASOBJS=
507
507
endif
508
508
509
- FUNCOBJS = $(SHEXTOBJS ) $(CXERBLAOBJS ) $(SHBLASOBJS ) $(SBLASOBJS ) $(DBLASOBJS ) $(CBLASOBJS ) $(ZBLASOBJS )
509
+ FUNCOBJS = $(SBEXTOBJS ) $(CXERBLAOBJS ) $(SBBLASOBJS ) $(SBLASOBJS ) $(DBLASOBJS ) $(CBLASOBJS ) $(ZBLASOBJS )
510
510
$(info FUNCOBJS = {[$(FUNCOBJS)]} )
511
511
ifdef EXPRECISION
512
512
FUNCOBJS += $(QBLASOBJS ) $(XBLASOBJS )
@@ -772,8 +772,8 @@ sdsdot.$(SUFFIX) sdsdot.$(PSUFFIX) : sdsdot.c
772
772
dsdot.$(SUFFIX ) dsdot.$(PSUFFIX ) : dsdot.c
773
773
$(CC ) $(CFLAGS ) -c $< -o $(@F )
774
774
775
- ifeq ($(BUILD_HALF ) ,1)
776
- shdot .$(SUFFIX ) shdot .$(PSUFFIX ) : bf16dot.c
775
+ ifeq ($(BUILD_BFLOAT16 ) ,1)
776
+ sbdot .$(SUFFIX ) sbdot .$(PSUFFIX ) : bf16dot.c
777
777
$(CC ) $(CFLAGS ) -c $< -o $(@F )
778
778
shstobf16.$(SUFFIX ) shstobf16.$(PSUFFIX ) : tobf16.c
779
779
$(CC ) $(CFLAGS ) -DSINGLE_PREC -UDOUBLE_PREC -c $< -o $(@F )
@@ -1278,8 +1278,8 @@ zhpr2.$(SUFFIX) zhpr2.$(PSUFFIX) : zhpr2.c
1278
1278
xhpr2.$(SUFFIX ) xhpr2.$(PSUFFIX ) : zhpr2.c
1279
1279
$(CC ) -c $(CFLAGS ) $< -o $(@F )
1280
1280
1281
- ifeq ($(BUILD_HALF ) ,1)
1282
- shgemm .$(SUFFIX ) shgemm .$(PSUFFIX ) : gemm.c ../param.h
1281
+ ifeq ($(BUILD_BFLOAT16 ) ,1)
1282
+ sbgemm .$(SUFFIX ) sbgemm .$(PSUFFIX ) : gemm.c ../param.h
1283
1283
$(CC ) -c $(CFLAGS ) $< -o $(@F )
1284
1284
endif
1285
1285
@@ -1523,8 +1523,8 @@ cblas_sdsdot.$(SUFFIX) cblas_sdsdot.$(PSUFFIX) : sdsdot.c
1523
1523
cblas_dsdot.$(SUFFIX ) cblas_dsdot.$(PSUFFIX ) : dsdot.c
1524
1524
$(CC ) $(CFLAGS ) -DCBLAS -c $< -o $(@F )
1525
1525
1526
- ifeq ($(BUILD_HALF ) ,1)
1527
- cblas_shdot .$(SUFFIX ) cblas_shdot .$(PSUFFIX ) : bf16dot.c
1526
+ ifeq ($(BUILD_BFLOAT16 ) ,1)
1527
+ cblas_sbdot .$(SUFFIX ) cblas_sbdot .$(PSUFFIX ) : bf16dot.c
1528
1528
$(CC ) $(CFLAGS ) -DCBLAS -c $< -o $(@F )
1529
1529
cblas_shstobf16.$(SUFFIX ) cblas_shstobf16.$(PSUFFIX ) : tobf16.c
1530
1530
$(CC ) $(CFLAGS ) -DCBLAS -DSINGLE_PREC -UDOUBLE_PREC -c $< -o $(@F )
@@ -1857,8 +1857,8 @@ cblas_zhemv.$(SUFFIX) cblas_zhemv.$(PSUFFIX) : zhemv.c
1857
1857
cblas_sgemm.$(SUFFIX ) cblas_sgemm.$(PSUFFIX ) : gemm.c ../param.h
1858
1858
$(CC ) -DCBLAS -c $(CFLAGS ) $< -o $(@F )
1859
1859
1860
- ifeq ($(BUILD_HALF ) ,1)
1861
- cblas_shgemm .$(SUFFIX ) cblas_shgemm .$(PSUFFIX ) : gemm.c ../param.h
1860
+ ifeq ($(BUILD_BFLOAT16 ) ,1)
1861
+ cblas_sbgemm .$(SUFFIX ) cblas_sbgemm .$(PSUFFIX ) : gemm.c ../param.h
1862
1862
$(CC ) -DCBLAS -c $(CFLAGS ) $< -o $(@F )
1863
1863
endif
1864
1864
0 commit comments