44 #ifndef _CL_EVENT_API_H_
45 # define _CL_EVENT_API_H_
67 # define CL_EVENT_LOCAL_CHANNEL (0x0)
72 # define CL_EVENT_GLOBAL_CHANNEL (0x1)
77 # define CL_EVENT_CHANNEL_SUBSCRIBER (0x2)
82 # define CL_EVENT_CHANNEL_PUBLISHER (0x4)
87 # define CL_EVENT_CHANNEL_CREATE (0x8)
92 # define CL_EVENT_HIGHEST_PRIORITY (0x0)
97 # define CL_EVENT_LOWEST_PRIORITY (0x3)
102 # define CL_EVENT_VERSION {(ClUint8T)'B', 0x1, 0x1}
103 # define CL_EVENT_VERSION_SET(version) (version).releaseCode = (ClUint8T)'B', \
104 (version).majorVersion = 0x1,\
105 (version).minorVersion = 0x1
207 ClEventSubscriptionIdT subscriptionId,
208 ClEventHandleT eventHandle,
234 ClInvocationT invocation,
235 ClEventChannelHandleT channelHandle,
262 } ClEventVersionCallbacksT;
442 ClRcT clEventInitializeWithVersion(
CL_OUT ClEventInitHandleT *pEvtHandle,
443 CL_IN const ClEventVersionCallbacksT *pEvtCallbackTable,
444 CL_IN ClUint32T numCallbacks,
484 ClSelectionObjectT * pSelectionObject);
616 CL_IN ClEventChannelOpenFlagsT evtChannelOpenFlag,
618 CL_OUT ClEventChannelHandleT *pChannelHandle);
677 CL_IN ClInvocationT invocation,
679 CL_IN ClEventChannelOpenFlagsT
797 CL_OUT ClEventHandleT *pEventHandle);
799 ClRcT clEventAllocateWithVersion(
CL_IN ClEventChannelHandleT channelHandle,
800 CL_IN ClUint8T version,
801 CL_OUT ClEventHandleT *pEventHandle);
876 CL_IN ClEventPriorityT priority,
961 CL_OUT ClEventPriorityT * pPriority,
965 CL_OUT ClEventIdT * pEventId);
1124 CL_IN const void *pEventData,
1126 CL_OUT ClEventIdT * pEventId);
1188 CL_IN ClEventSubscriptionIdT subscriptionId,
1189 CL_IN void *pCookie);
1229 CL_IN ClEventSubscriptionIdT subscriptionId);
1263 ClRcT clEventRetentionTimeClear(
CL_IN ClEventChannelHandleT channelHandle,
1264 CL_IN const ClEventIdT eventId);