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.

tile.cpp 687 B

123456789101112131415161718192021222324252627
  1. #include "test/fallback/fixture.h"
  2. #include "test/common/checker.h"
  3. #include "test/common/task_record_check.h"
  4. #include "test/common/tile_repeat.h"
  5. namespace megdnn {
  6. namespace test {
  7. TEST_F(FALLBACK, TILE) {
  8. Checker<TileForward> checker(handle());
  9. auto args = tile_repeat::get_args();
  10. for (auto&& arg : args) {
  11. checker.set_param(arg.param()).execs({arg.src, {}});
  12. }
  13. }
  14. TEST_F(FALLBACK, TILE_REOCRD) {
  15. TaskRecordChecker<TileForward> checker(1);
  16. auto args = tile_repeat::get_args();
  17. for (auto&& arg : args) {
  18. checker.set_param(arg.param()).execs({arg.src, {}});
  19. }
  20. }
  21. } // namespace test
  22. } // namespace megdnn
  23. // vim: syntax=cpp.doxygen