aclrtSynchronizeDevice
Applicability
|
Product |
Supported |
|---|---|
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Description
Blocks the current thread until the device corresponding to the context bound to the current thread completes the computation.
Prototype
aclError aclrtSynchronizeDevice(void)
Parameters
None
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: Device Management