Added the unit testcase for dsdot.
This commit is contained in:
parent
03272a606d
commit
1d60510959
|
@ -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(zdotu) (blasint *, double *, blasint *, double *, blasint *);
|
||||||
double _Complex BLASFUNC_REF(zdotc) (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
|
#endif
|
||||||
|
|
|
@ -5,7 +5,7 @@ include $(TOPDIR)/Makefile.system
|
||||||
TARGET=openblas_utest
|
TARGET=openblas_utest
|
||||||
CUNIT_LIB=/usr/local/lib/libcunit.a
|
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
|
all : run_test
|
||||||
|
|
||||||
|
|
|
@ -59,4 +59,6 @@ void test_zdotu_offset_1(void);
|
||||||
|
|
||||||
void test_drotmg(void);
|
void test_drotmg(void);
|
||||||
|
|
||||||
|
void test_dsdot_n_1(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -56,6 +56,8 @@ CU_TestInfo test_level1[]={
|
||||||
{"Testing zdotu with input x & y offset == 1",test_zdotu_offset_1},
|
{"Testing zdotu with input x & y offset == 1",test_zdotu_offset_1},
|
||||||
|
|
||||||
{"Testing drotmg",test_drotmg},
|
{"Testing drotmg",test_drotmg},
|
||||||
|
|
||||||
|
{"Testing dsdot with n == 1",test_dsdot_n_1},
|
||||||
CU_TEST_INFO_NULL,
|
CU_TEST_INFO_NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue