Intel® FPGA SDK for OpenCL™ Pro Edition: Programming Guide

ID 683846
Date 10/04/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

A.3.1. OpenCL 2.0 Headers

The Intel® FPGA SDK for OpenCL™ provides unified headers that support all OpenCL versions.
To use OpenCL 2.0 features, include the following two lines in your code:
#define CL_TARGET_OPENCL_VERSION 200
#include <CL/opencl.h>
Attention: The SDK currently does not support all OpenCL 2.0 APIs. If you make a call to an unsupported API, the call returns with an error code to indicate that the API is not fully supported.