.. index:: pair: struct; dnnl_exec_arg_t .. _doxid-structdnnl__exec__arg__t: struct dnnl_exec_arg_t ====================== .. toctree:: :hidden: Overview ~~~~~~~~ A structure that contains an index and a memory object, and is used to pass arguments to :ref:`dnnl_primitive_execute() `. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct dnnl_exec_arg_t { // fields int :ref:`arg`; :ref:`dnnl_memory_t` :ref:`memory`; }; .. _details-structdnnl__exec__arg__t: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ A structure that contains an index and a memory object, and is used to pass arguments to :ref:`dnnl_primitive_execute() `. Fields ------ .. index:: pair: variable; arg .. _doxid-structdnnl__exec__arg__t_1a46c7f77870713b8af3fd37dc66e9690b: .. ref-code-block:: cpp :class: doxyrest-title-code-block int arg An argument index, e.g. DNNL_ARG_SRC. .. index:: pair: variable; memory .. _doxid-structdnnl__exec__arg__t_1a048f23e80b923636267c4dece912cd0d: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`dnnl_memory_t` memory Input/output memory.