DML_GRAPH_EDGE_DESC structure (directml.h)

A generic container for a connection within a graph of DirectML operators defined by DML_GRAPH_DESC and passed to IDMLDevice1::CompileGraph.

Syntax

struct DML_GRAPH_EDGE_DESC {
  DML_GRAPH_EDGE_TYPE Type;
  const void          *Desc;
};

Members

Type

Type: DML_GRAPH_EDGE_TYPE

The type of graph edge. See DML_GRAPH_EDGE_TYPE for available types, and DML_GRAPH_DESC for where to use each type.

Desc

Type: _Field_size_(_Inexpressible_("Dependent on edge type")) const void*

A pointer to the graph edge description. The type of the pointed-to struct must match the value specified in Type.

Availability

This API was introduced in DirectML version 1.1.0.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header directml.h

See also