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.

matrix_inverse.cpp 382 B

1234567891011121314151617
  1. #include "test/cuda/fixture.h"
  2. #include "megdnn/oprs/linalg.h"
  3. #include "test/common/checker.h"
  4. using namespace megdnn;
  5. using namespace test;
  6. TEST_F(CUDA, MATRIX_INVERSE) {
  7. InvertibleMatrixRNG rng;
  8. Checker<MatrixInverse>{handle_cuda()}
  9. .set_rng(0, &rng)
  10. .execs({{4, 5, 5}, {}})
  11. .execs({{100, 3, 3}, {}});
  12. }
  13. // vim: syntax=cpp.doxygen