Article ID: 000084350 Content Type: Troubleshooting Last Reviewed: 11/26/2013

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

Environment

    Quartus® II Subscription Edition
BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

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.

Resolution

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

Related Products

This article applies to 1 products

Intel® Programmable Devices

1