summaryrefslogtreecommitdiff
path: root/src/cl_driver.h
diff options
context:
space:
mode:
authorBenjamin Segovia <segovia.benjamin@gmail.com>2012-04-23 19:51:33 +0000
committerKeith Packard <keithp@keithp.com>2012-08-10 16:16:41 -0700
commit51e45fa998a44adaa3d7782c5be37055aaf4168b (patch)
tree97bb25040ceb398fbf80def69f25c7329202cafe /src/cl_driver.h
parent28d7a47e7665f8493bfbb6d3aeb229104d0d4805 (diff)
Added proper buffer big enough to map everything Still need to test that
Diffstat (limited to 'src/cl_driver.h')
-rw-r--r--src/cl_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cl_driver.h b/src/cl_driver.h
index 076f3983..75df8dd9 100644
--- a/src/cl_driver.h
+++ b/src/cl_driver.h
@@ -195,7 +195,7 @@ typedef void* (cl_buffer_get_virtual_cb)(cl_buffer);
extern cl_buffer_get_virtual_cb *cl_buffer_get_virtual;
/* Get the size of the buffer */
-typedef void* (cl_buffer_get_size_cb)(cl_buffer);
+typedef size_t (cl_buffer_get_size_cb)(cl_buffer);
extern cl_buffer_get_size_cb *cl_buffer_get_size;
/* Pin a buffer */