#include #include #include #include namespace migraph { namespace miopen { std::vector miopen_target::get_passes(context&) const { return {miopen_lowering{}, miopen_write_literals{}}; } std::string miopen_target::name() const { return "miopen"; } context miopen_target::get_context() const { return miopen_context{share(make_obj(&miopenCreate)), share(create_rocblas_handle_ptr())}; } } // namespace miopen } // namespace migraph