summaryrefslogtreecommitdiff
path: root/src/cl_event.h
diff options
context:
space:
mode:
authorYang Rong <rong.r.yang@intel.com>2013-09-17 16:10:00 +0800
committerZhigang Gong <zhigang.gong@linux.intel.com>2013-09-18 13:11:44 +0800
commit2caef53e7a84a307a713dd0a24f9b13c2634512b (patch)
tree90789c3edfc12c66701344f0cb89c2a38d4b946b /src/cl_event.h
parente5bfb17721366545187524064ae3df40d520ac55 (diff)
downloadbeignet-2caef53e7a84a307a713dd0a24f9b13c2634512b.tar.gz
Refine and fix some event bugs.
Signed-off-by: Yang Rong <rong.r.yang@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'src/cl_event.h')
-rw-r--r--src/cl_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cl_event.h b/src/cl_event.h
index c921cb2a..8523abea 100644
--- a/src/cl_event.h
+++ b/src/cl_event.h
@@ -39,7 +39,7 @@ typedef struct _enqueue_callback {
cl_event event; /* The event relative this enqueue callback */
enqueue_data data; /* Hold all enqueue callback's infomation */
cl_uint num_events; /* num events in wait list */
- const cl_event* wait_list; /* All event wait list this callback wait on */
+ cl_event* wait_list; /* All event wait list this callback wait on */
user_event* wait_user_events; /* The head of user event list the callback wait on */
struct _enqueue_callback* next; /* The next enqueue callback in wait list */
} enqueue_callback;