aclrtRecordEvent

Description

Records an event in a stream. This API is synchronous.

Restrictions

Prototype

aclError aclrtRecordEvent(aclrtEvent event, aclrtStream stream)

Parameters

Parameter

Input/Output

Description

event

Input

Event to record.

stream

Input

Stream to record event for.

To specify the default stream, pass NULL.

Returns

0 on success; else, failure.

See Also