#ifndef MIGRAPH_GUARD_CONTEXT_HPP #define MIGRAPH_GUARD_CONTEXT_HPP #include #include #include #include #include #include namespace migraphx { #ifdef DOXYGEN /// A context is used to store internal data for a `target`. A context is /// constructed by a target during compilation and passed to the operations /// during `eval`. struct context { /// Wait for any tasks in the context to complete void finish() const; }; #else <% interface('context', virtual('finish', returns='void', const=True) ) %> #endif } // namespace migraphx #endif