Why is clCreateSubBuffer defined in the Altera DSK for OpenCL cl.h but not in ateracl.lib


clCreateSubBuffer creates a buffer object from an existing buffer object, and it is defined in the Open CL specification 1-2.   Altera SDK for Open CL™ supports only the Open CL specification 1-0, with individual features taken from the 1.1 and 1.2 API.


To workaround this issue,  create individual buffers and pass the offset between them as an argument.