summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2020-10-12 00:08:29 +0200
committerGitHub <noreply@github.com>2020-10-12 00:08:29 +0200
commit7ae9e8960e85a1b0c0d163a1c5980b9e8cacb71e (patch)
tree369ffa0da0ec724dffdd1ed469b66058d46e1ed9 /benchmark
parente3a29f6b58ffdf656ff9b05438f235646b59586a (diff)
downloadopenblas-7ae9e8960e85a1b0c0d163a1c5980b9e8cacb71e.tar.gz
openblas-7ae9e8960e85a1b0c0d163a1c5980b9e8cacb71e.tar.bz2
openblas-7ae9e8960e85a1b0c0d163a1c5980b9e8cacb71e.zip
Change "HALF" and "sh" to "BFLOAT16" and "sb"
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/Makefile12
-rw-r--r--benchmark/gemm.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/benchmark/Makefile b/benchmark/Makefile
index 2f70ceaf3..f2f3b354a 100644
--- a/benchmark/Makefile
+++ b/benchmark/Makefile
@@ -49,8 +49,8 @@ else
GOTO_LAPACK_TARGETS=
endif
-ifeq ($(BUILD_HALF),1)
-GOTO_HALF_TARGETS=shgemm.goto
+ifeq ($(BUILD_BFLOAT16),1)
+GOTO_HALF_TARGETS=sbgemm.goto
else
GOTO_HALF_TARGETS=
endif
@@ -620,8 +620,8 @@ zcholesky.essl : zcholesky.$(SUFFIX)
-$(CC) $(CFLAGS) -o $(@F) $^ $(LIBESSL) $(CEXTRALIB) $(EXTRALIB) $(FEXTRALIB)
##################################### Sgemm ####################################################
-ifeq ($(BUILD_HALF),1)
-shgemm.goto : shgemm.$(SUFFIX) ../$(LIBNAME)
+ifeq ($(BUILD_BFLOAT16),1)
+sbgemm.goto : sbgemm.$(SUFFIX) ../$(LIBNAME)
$(CC) $(CFLAGS) -o $(@F) $^ $(CEXTRALIB) $(EXTRALIB) $(FEXTRALIB) -lm
endif
@@ -2927,8 +2927,8 @@ ccholesky.$(SUFFIX) : cholesky.c
zcholesky.$(SUFFIX) : cholesky.c
$(CC) $(CFLAGS) -c -DCOMPLEX -DDOUBLE -o $(@F) $^
-ifeq ($(BUILD_HALF),1)
-shgemm.$(SUFFIX) : gemm.c
+ifeq ($(BUILD_BFLOAT16),1)
+sbgemm.$(SUFFIX) : gemm.c
$(CC) $(CFLAGS) -c -DHALF -UCOMPLEX -UDOUBLE -o $(@F) $^
endif
diff --git a/benchmark/gemm.c b/benchmark/gemm.c
index 84dd292c5..8cd14bbed 100644
--- a/benchmark/gemm.c
+++ b/benchmark/gemm.c
@@ -40,7 +40,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifdef DOUBLE
#define GEMM BLASFUNC(dgemm)
#elif defined(HALF)
-#define GEMM BLASFUNC(shgemm)
+#define GEMM BLASFUNC(sbgemm)
#else
#define GEMM BLASFUNC(sgemm)
#endif