Skip to content

Commit 7ae9e89

Browse files
authored
Change "HALF" and "sh" to "BFLOAT16" and "sb"
1 parent e3a29f6 commit 7ae9e89

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

benchmark/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ else
4949
GOTO_LAPACK_TARGETS=
5050
endif
5151

52-
ifeq ($(BUILD_HALF),1)
53-
GOTO_HALF_TARGETS=shgemm.goto
52+
ifeq ($(BUILD_BFLOAT16),1)
53+
GOTO_HALF_TARGETS=sbgemm.goto
5454
else
5555
GOTO_HALF_TARGETS=
5656
endif
@@ -620,8 +620,8 @@ zcholesky.essl : zcholesky.$(SUFFIX)
620620
-$(CC) $(CFLAGS) -o $(@F) $^ $(LIBESSL) $(CEXTRALIB) $(EXTRALIB) $(FEXTRALIB)
621621

622622
##################################### Sgemm ####################################################
623-
ifeq ($(BUILD_HALF),1)
624-
shgemm.goto : shgemm.$(SUFFIX) ../$(LIBNAME)
623+
ifeq ($(BUILD_BFLOAT16),1)
624+
sbgemm.goto : sbgemm.$(SUFFIX) ../$(LIBNAME)
625625
$(CC) $(CFLAGS) -o $(@F) $^ $(CEXTRALIB) $(EXTRALIB) $(FEXTRALIB) -lm
626626
endif
627627

@@ -2927,8 +2927,8 @@ ccholesky.$(SUFFIX) : cholesky.c
29272927
zcholesky.$(SUFFIX) : cholesky.c
29282928
$(CC) $(CFLAGS) -c -DCOMPLEX -DDOUBLE -o $(@F) $^
29292929

2930-
ifeq ($(BUILD_HALF),1)
2931-
shgemm.$(SUFFIX) : gemm.c
2930+
ifeq ($(BUILD_BFLOAT16),1)
2931+
sbgemm.$(SUFFIX) : gemm.c
29322932
$(CC) $(CFLAGS) -c -DHALF -UCOMPLEX -UDOUBLE -o $(@F) $^
29332933
endif
29342934

benchmark/gemm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4040
#ifdef DOUBLE
4141
#define GEMM BLASFUNC(dgemm)
4242
#elif defined(HALF)
43-
#define GEMM BLASFUNC(shgemm)
43+
#define GEMM BLASFUNC(sbgemm)
4444
#else
4545
#define GEMM BLASFUNC(sgemm)
4646
#endif

0 commit comments

Comments
 (0)