Function: synchronize_device
|
C Prototype |
aclError aclrtSynchronizeDevice(void) |
|---|---|
|
Python Function |
ret = acl.rt.synchronize_device() |
|
Function Usage |
Blocks app execution until the compute device has completed all preceding requested tasks. In the multi-device scenario, the device of the current context is waited. |
|
Input Description |
None |
|
Return Value |
ret: int, error code.
|
|
Restrictions |
None |
|
Reference |
Parent topic: Device Management