IDMLCommandRecorder interface (directml.h)

Records dispatches of DirectML work into a Direct3D 12 command list. The IDMLCommandRecorder interface inherits from IDMLDeviceChild.

The command recorder is a stateless object whose purpose is to record commands into a Direct3D 12 command list. DirectML doesn't create command lists, command allocators, nor command queues; nor does it directly submit any work for execution on the GPU. Instead, your application manages its own command lists and queues, and it uses the IDMLCommandRecorder to record work into its existing command lists. You're then responsible for executing the command list on a queue of your choice.

This object is thread-safe.

Inheritance

The IDMLCommandRecorder interface inherits from the IDMLDeviceChild interface.

Methods

The IDMLCommandRecorder interface has these methods.

 
IDMLCommandRecorder::RecordDispatch

Records execution of a dispatchable object (an operator initializer, or a compiled operator) onto a command list.

Requirements

Requirement Value
Target Platform Windows
Header directml.h

See also

IDMLDeviceChild