#include #include #include #include #include #include #include #include namespace migraph { namespace gpu { std::vector target::get_passes(migraph::context&) const { // clang-format off return { auto_contiguous{}, simplify_reshapes{}, lowering{}, write_literals{}, dead_code_elimination{}, check_context{} }; // clang-format on } std::string target::name() const { return "miopen"; } migraph::context target::get_context() const { return context{share(make_obj(&miopenCreate)), share(create_rocblas_handle_ptr())}; } } // namespace gpu } // namespace migraph