DML_FEATURE enumeration (directml.h)

Defines a set of optional features and capabilities that can be queried from the DirectML device. See IDMLDevice::CheckFeatureSupport.

Syntax

typedef enum DML_FEATURE {
  DML_FEATURE_TENSOR_DATA_TYPE_SUPPORT,
  DML_FEATURE_FEATURE_LEVELS
} ;

Constants

 
DML_FEATURE_TENSOR_DATA_TYPE_SUPPORT
Allows querying for tensor data type support. The query type is DML_FEATURE_QUERY_TENSOR_DATA_TYPE_SUPPORT, and the support data type is DML_FEATURE_DATA_TENSOR_DATA_TYPE_SUPPORT.
DML_FEATURE_FEATURE_LEVELS
Allows querying for the feature levels supported by the device. The query type is DML_FEATURE_QUERY_FEATURE_LEVELS, and the support data type is DML_FEATURE_DATA_FEATURE_LEVELS.

Requirements

Requirement Value
Header directml.h

See also