#include #include #include #include #include #include #include namespace migraphx { inline namespace MIGRAPHX_INLINE_NS { namespace cpu { std::string target::name() const { return "cpu"; } std::vector target::get_passes(migraphx::context&) const { return {rewrite_rnn{}, dead_code_elimination{}, auto_contiguous{}, dead_code_elimination{}, lowering{}, dead_code_elimination{}}; } argument target::allocate(const shape& s) const { return fill_argument(s, 0); } } // namespace cpu } // namespace MIGRAPHX_INLINE_NS } // namespace migraphx