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 523 B

1234567891011121314151617181920212223242526272829
  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 X86 : public CPU {
  9. public:
  10. void TearDown() override;
  11. Handle* fallback_handle();
  12. private:
  13. std::unique_ptr<Handle> m_handle, m_fallback_handle;
  14. };
  15. class X86_MULTI_THREADS : public CPU_MULTI_THREADS {};
  16. class X86_BENCHMARK_MULTI_THREADS : public CPU_BENCHMARK_MULTI_THREADS {};
  17. } // namespace test
  18. } // namespace megdnn
  19. // vim: syntax=cpp.doxygen