Added the test case for samax.
This commit is contained in:
parent
08570c4248
commit
5656cca4f3
|
@ -64,4 +64,6 @@ void BLASFUNC_REF(drotmg)(double *, double *, double *, double *, double *);
|
||||||
|
|
||||||
double BLASFUNC_REF(dsdot)(blasint *, float *, blasint *, float *, blasint*);
|
double BLASFUNC_REF(dsdot)(blasint *, float *, blasint *, float *, blasint*);
|
||||||
|
|
||||||
|
FLOATRET BLASFUNC_REF(samax) (blasint *, float *, blasint *);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -11,7 +11,7 @@ CUNIT_LIB=$(CUNIT_DIR)/lib/libcunit.a
|
||||||
|
|
||||||
CFLAGS+=-I$(CUNIT_DIR)/include
|
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
|
all : run_test
|
||||||
|
|
||||||
|
|
|
@ -61,4 +61,6 @@ void test_drotmg(void);
|
||||||
|
|
||||||
void test_dsdot_n_1(void);
|
void test_dsdot_n_1(void);
|
||||||
|
|
||||||
|
void test_samax(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -58,6 +58,8 @@ CU_TestInfo test_level1[]={
|
||||||
{"Testing drotmg",test_drotmg},
|
{"Testing drotmg",test_drotmg},
|
||||||
|
|
||||||
{"Testing dsdot with n == 1",test_dsdot_n_1},
|
{"Testing dsdot with n == 1",test_dsdot_n_1},
|
||||||
|
|
||||||
|
{"Testing samax", test_samax},
|
||||||
CU_TEST_INFO_NULL,
|
CU_TEST_INFO_NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue