---
title: "ClikaRT::ops::synchronize_all"
sidebar_label: "synchronize_all"
description: "Block until every live stream in the runtime has finished, a barrier for \"wait for all enqueued work to complete\" (e.g. before reading a device result on the host, or timing a phase)."
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--function">function</span>

## synchronize\_all() {#synchronize_all}

<div class="api-signature">

`void` **`synchronize_all`**()

</div>

Block until every live stream in the runtime has finished, a barrier for "wait for all enqueued work to complete" (e.g. before reading a device result on the host, or timing a phase). Infallible: it never raises.

<div class="api-declared">

Declared in `ClikaRT/compute/ops.h`, line 142

</div>
