diff --git a/common_reference.h b/common_reference.h index 4cc4be4fd..be151e0d6 100644 --- a/common_reference.h +++ b/common_reference.h @@ -63,5 +63,7 @@ double _Complex BLASFUNC_REF(zdotc) (blasint *, double *, blasint *, double void BLASFUNC_REF(drotmg)(double *, double *, double *, double *, double *); double BLASFUNC_REF(dsdot)(blasint *, float *, blasint *, float *, blasint*); + +FLOATRET BLASFUNC_REF(samax) (blasint *, float *, blasint *); #endif diff --git a/utest/Makefile b/utest/Makefile index ee9aa6286..3d120f5b3 100644 --- a/utest/Makefile +++ b/utest/Makefile @@ -11,7 +11,7 @@ CUNIT_LIB=$(CUNIT_DIR)/lib/libcunit.a CFLAGS+=-I$(CUNIT_DIR)/include -OBJS=main.o test_rot.o test_swap.o test_axpy.o test_dotu.o test_rotmg.o test_dsdot.o +OBJS=main.o test_rot.o test_swap.o test_axpy.o test_dotu.o test_rotmg.o test_dsdot.o test_amax.o all : run_test diff --git a/utest/common_utest.h b/utest/common_utest.h index 1332ef6ab..e57ae0556 100644 --- a/utest/common_utest.h +++ b/utest/common_utest.h @@ -61,4 +61,6 @@ void test_drotmg(void); void test_dsdot_n_1(void); +void test_samax(void); + #endif diff --git a/utest/main.c b/utest/main.c index 135709507..ece94dd71 100644 --- a/utest/main.c +++ b/utest/main.c @@ -58,6 +58,8 @@ CU_TestInfo test_level1[]={ {"Testing drotmg",test_drotmg}, {"Testing dsdot with n == 1",test_dsdot_n_1}, + + {"Testing samax", test_samax}, CU_TEST_INFO_NULL, };