MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / test_params

Class test_params

test/blas.cpp:525–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523}
524
525struct test_params {
526 af_mat_prop opt_lhs;
527 af_mat_prop opt_rhs;
528 float *alpha;
529 float *h_lhs;
530 float *h_rhs;
531 float *h_gold;
532 dim4 lhs_dims;
533 dim4 rhs_dims;
534 dim4 out_dims;
535 float *beta;
536 TestOutputArrayType out_array_type;
537
538 test_params(af_mat_prop optl, af_mat_prop optr, float *a, float *l,
539 float *r, float *g, dim4 ldims, dim4 rdims, dim4 odims,
540 float *b, TestOutputArrayType t)
541 : opt_lhs(optl)
542 , opt_rhs(optr)
543 , alpha(a)
544 , h_lhs(l)
545 , h_rhs(r)
546 , h_gold(g)
547 , lhs_dims(ldims)
548 , rhs_dims(rdims)
549 , out_dims(odims)
550 , beta(b)
551 , out_array_type(t) {}
552};
553
554class Gemm : public ::testing::TestWithParam<test_params> {
555 protected:

Callers 1

blas.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected