summaryrefslogtreecommitdiff
path: root/src/cl_program.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cl_program.h')
-rw-r--r--src/cl_program.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cl_program.h b/src/cl_program.h
index cf9615c9..2d7197ed 100644
--- a/src/cl_program.h
+++ b/src/cl_program.h
@@ -55,6 +55,8 @@ struct _cl_program {
cl_kernel *ker; /* All kernels included by the OCL file */
cl_program prev, next; /* We chain the programs together */
cl_context ctx; /* Its parent context */
+ cl_buffer global_data;
+ char * global_data_ptr;
char *bin; /* The program copied verbatim */
size_t bin_sz; /* Its size in memory */
char *source; /* Program sources */