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.

123456789101112131415161718192021222324252627
  1. #include "test/x86/fixture.h"
  2. #include "test/common/checker.h"
  3. #include "test/common/local.h"
  4. #include "test/common/task_record_check.h"
  5. namespace megdnn {
  6. namespace test {
  7. TEST_F(X86, LRN) {
  8. Checker<LRNForward> checker(handle());
  9. checker.execs({{2, 11, 12, 13}, {}});
  10. for (size_t w = 10; w <= 50; ++w) {
  11. checker.execs({{2, w, 12, 13}, {}});
  12. }
  13. }
  14. TEST_F(X86, LRN_RECORD) {
  15. TaskRecordChecker<LRNForward> checker(0);
  16. checker.execs({{2, 11, 12, 13}, {}});
  17. for (size_t w = 10; w <= 50; w += 10) {
  18. checker.execs({{2, w, 12, 13}, {}});
  19. }
  20. }
  21. } // namespace test
  22. } // namespace megdnn
  23. // vim: syntax=cpp.doxygen