diff --git a/common_reference.h b/common_reference.h index 04b11f80f..4cc4be4fd 100644 --- a/common_reference.h +++ b/common_reference.h @@ -60,4 +60,8 @@ float _Complex BLASFUNC_REF(cdotc) (blasint *, float *, blasint *, float *, double _Complex BLASFUNC_REF(zdotu) (blasint *, double *, blasint *, double *, blasint *); double _Complex BLASFUNC_REF(zdotc) (blasint *, double *, blasint *, double *, blasint *); +void BLASFUNC_REF(drotmg)(double *, double *, double *, double *, double *); + +double BLASFUNC_REF(dsdot)(blasint *, float *, blasint *, float *, blasint*); + #endif diff --git a/utest/Makefile b/utest/Makefile index 9339d42be..e7c5f3412 100644 --- a/utest/Makefile +++ b/utest/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/Makefile.system TARGET=openblas_utest CUNIT_LIB=/usr/local/lib/libcunit.a -OBJS=main.o test_rot.o test_swap.o test_axpy.o test_dotu.o test_rotmg.o +OBJS=main.o test_rot.o test_swap.o test_axpy.o test_dotu.o test_rotmg.o test_dsdot.o all : run_test diff --git a/utest/common_utest.h b/utest/common_utest.h index f9a14d87d..1332ef6ab 100644 --- a/utest/common_utest.h +++ b/utest/common_utest.h @@ -59,4 +59,6 @@ void test_zdotu_offset_1(void); void test_drotmg(void); +void test_dsdot_n_1(void); + #endif diff --git a/utest/main.c b/utest/main.c index 2ec9c7a57..135709507 100644 --- a/utest/main.c +++ b/utest/main.c @@ -56,6 +56,8 @@ CU_TestInfo test_level1[]={ {"Testing zdotu with input x & y offset == 1",test_zdotu_offset_1}, {"Testing drotmg",test_drotmg}, + + {"Testing dsdot with n == 1",test_dsdot_n_1}, CU_TEST_INFO_NULL, };