ttnn.is_trace_capture_active
- ttnn.is_trace_capture_active = <nanobind.nb_func object>
-
ttnn._ttnn.multi_device.MeshDevice) -> bool
Returns True if a metal trace is currently being captured on any command queue of the device.
Operations that synchronize with host (event recording, reads, writes) are not supported while a trace is being captured, so callers that would otherwise synchronize must skip doing so.
- Parameters:
-
device (ttnn.MeshDevice)The device to query.
- Returns:
-
boolwhether a trace capture is in progress.
- Type:
-
is_trace_capture_active(device