DML_GRAPH_NODE_DESC structure (directml.h)

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

Syntax

struct DML_GRAPH_NODE_DESC {
  DML_GRAPH_NODE_TYPE Type;
  const void          *Desc;
};

Members

Type

Type: DML_GRAPH_NODE_TYPE

The type of graph node. See DML_GRAPH_NODE_TYPE for available types.

Desc

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

A pointer to the graph node 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