C Specification
The cl_buffer_ structure specifies a region of a buffer object:
// Provided by CL_VERSION_1_0
typedef struct cl_buffer_region {
size_t origin;
size_t size;
} cl_buffer_region;
Description
Constraints on the values of origin and size are specified for the clCreateSubBuffer function to which this structure is passed.
Document Notes
For more information, see the OpenCL Specification
This page is extracted from the OpenCL Specification. Fixes and changes should be made to the Specification, not directly.