include_opencl.h File Reference
This file provides a common point to include OpenCL header files on different platforms. More...
Go to the source code of this file.
Macros | |
#define | CL_USE_DEPRECATED_OPENCL_1_2_APIS |
Typedefs | |
using | clCreateProgramWithIL_fn = cl_program(CL_API_CALL *)(cl_context, const void *, size_t, cl_int *) |
Declare functions for extensions that are used automatically by ComputeCpp when available. More... | |
Detailed Description
This file provides a common point to include OpenCL header files on different platforms.
Definition in file include_opencl.h.
Macro Definition Documentation
◆ CL_USE_DEPRECATED_OPENCL_1_2_APIS
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS |
Definition at line 28 of file include_opencl.h.
Typedef Documentation
◆ clCreateProgramWithIL_fn
using clCreateProgramWithIL_fn = cl_program(CL_API_CALL*)( cl_context , const void* , size_t , cl_int* ) |
Declare functions for extensions that are used automatically by ComputeCpp when available.
Function pointer to clCreateProgramWithIL or clCreateProgramWithILKHR Whenever the extension is available, it is used to create the SPIRV program.
See OpenCL Extensions 9.21 : Intermediate Language Programs for details.
Definition at line 51 of file include_opencl.h.