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.

fixture.h 494 B

12345678910111213141516171819202122232425262728
  1. #pragma once
  2. #include <gtest/gtest.h>
  3. #include "megdnn/handle.h"
  4. #include "test/cpu/fixture.h"
  5. #include <memory>
  6. namespace megdnn {
  7. namespace test {
  8. class FALLBACK : public ::testing::Test {
  9. public:
  10. void SetUp() override;
  11. void TearDown() override;
  12. Handle* handle() { return m_handle.get(); }
  13. private:
  14. std::unique_ptr<Handle> m_handle;
  15. };
  16. class FALLBACK_MULTI_THREADS : public CPU_MULTI_THREADS {};
  17. } // namespace test
  18. } // namespace megdnn
  19. // vim: syntax=cpp.doxygen