EnqueueRecordEvent
-
Enqueues a command to record an Event on the device for a given CQ, and updates the Event object for the user. Return value: void
Argument
Description
Type
Valid Range
Required
cq
The command queue object which dispatches the command to the hardware
CommandQueue &
Yes
event
An event that will be populated by this function, and inserted in CQ
std::shared_ptr<Event>
Yes
sub_device_ids
The sub-device ids to wait for completion on. If empty, waits for all sub-devices
tt::stl::Span<const uint32_t>
No