diff options
Diffstat (limited to 'include/cl_context.h')
-rw-r--r-- | include/cl_context.h | 2 |
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; |