struct dnnl_exec_arg_t

Overview

A structure that contains an index and a memory object, and is used to pass arguments to dnnl_primitive_execute(). More…

#include <dnnl_types.h>

struct dnnl_exec_arg_t
{
    // fields

    int arg;
    dnnl_memory_t memory;
};

Detailed Documentation

A structure that contains an index and a memory object, and is used to pass arguments to dnnl_primitive_execute().

Fields

int arg

An argument index, e.g. DNNL_ARG_SRC.

dnnl_memory_t memory

Input/output memory.