summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJunyan He <junyan.he@intel.com>2016-04-19 23:58:18 +0800
committerJunyan He <junyan.he@intel.com>2016-04-19 23:58:18 +0800
commit5f53c3439c265f726a7a2d1fb7ba9d1e063d6920 (patch)
treef7478a52d05d0a099ea8523c1ab483984213cc48 /include
parent0178f7c46ee54076a926ae648882285f6a7dc44b (diff)
add marker
Diffstat (limited to 'include')
-rw-r--r--include/cl_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cl_context.h b/include/cl_context.h
index 27efd063..8a7690e0 100644
--- a/include/cl_context.h
+++ b/include/cl_context.h
@@ -58,6 +58,8 @@ typedef struct _cl_context {
cl_mem buffers; /* All memory object currently allocated */
cl_sampler samplers; /* All sampler object currently allocated */
cl_event events; /* All event object currently allocated */
+ cl_event* barrier_events; /* All barrier events. */
+ cl_uint barrier_events_num; /* Barrier events number. */
pthread_mutex_t lock; /* The lock to protect the context. */
pthread_cond_t cond; /* The condition we wait on. */
struct _cl_context_prop props;