aclrtSynchronizeEvent

Description

Waits for an event to complete. This API is synchronous.

Prototype

aclError aclrtSynchronizeEvent(aclrtEvent event)

Parameters

Parameter

Input/Output

Description

event

Input

Event to wait on.

Returns

0 on success; else, failure.

See Also

For the API call example, see Event-based Synchronization.