diff options
Diffstat (limited to 'src/cl_enqueue.h')
-rw-r--r-- | src/cl_enqueue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_enqueue.h b/src/cl_enqueue.h index a9b36017..b179f782 100644 --- a/src/cl_enqueue.h +++ b/src/cl_enqueue.h @@ -65,6 +65,7 @@ typedef struct _enqueue_data { void * ptr; /* Ptr for write and return value */ const cl_mem* mem_list; /* mem_list of clEnqueueNativeKernel */ uint8_t unsync_map; /* Indicate the clEnqueueMapBuffer/Image is unsync map */ + uint8_t write_map; /* Indicate if the clEnqueueMapBuffer is write enable */ void (*user_func)(void *); /* pointer to a host-callable user function */ } enqueue_data; |