# tf.raw_ops.SyncDevice

<br />

Synchronizes the device this op is run on.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.SyncDevice`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/SyncDevice)

<br />

    tf.raw_ops.SyncDevice(
        name=None
    )

Only GPU ops are asynchrous in TensorFlow, and so this only has an effect when
run on GPUs. On GPUs, this op synchronizes the GPU's compute stream.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The created Operation. ||

<br />