You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

batched_matrix_mul.cpp 498 B

1234567891011121314151617
  1. #include "test/cpu/fixture.h"
  2. #include <chrono>
  3. #include "test/common/checker.h"
  4. #include "test/common/matrix_mul.h"
  5. using namespace megdnn;
  6. using namespace test;
  7. //! check batch=1 and batch_stride is arbitrarily
  8. TEST_F(CPU, BATCHED_MATRIX_MUL_BATCH_1) {
  9. matrix_mul::check_batched_matrix_mul(
  10. dtype::Float32{}, dtype::Float32{}, dtype::Float32{}, handle(), "", 1e-3,
  11. std::vector<matrix_mul::TestArg>{{5, 5, 5, 0, 5, 5, 5, 1, 5, 5, 5}});
  12. }
  13. // vim: syntax=cpp.doxygen