Finish

void tt::tt_metal::v0::Finish(CommandQueue &cq, tt::stl::Span<const SubDeviceId> sub_device_ids = {})

Blocks until all previously dispatched commands on the device have completed

Return value: void

Argument

Description

Type

Valid Range

Required

cq

The command queue object which dispatches the command to the hardware

CommandQueue &

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