diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/CL/cl.h | 2 | ||||
-rw-r--r-- | include/CL/cl_intel.h | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/include/CL/cl.h b/include/CL/cl.h index ddb18ece..8201afc0 100644 --- a/include/CL/cl.h +++ b/include/CL/cl.h @@ -625,7 +625,7 @@ clGetSamplerInfo(cl_sampler /* sampler */, size_t /* param_value_size */, void * /* param_value */, size_t * /* param_value_size_ret */) CL_API_SUFFIX__VERSION_1_0; - + /* Program Object APIs */ extern CL_API_ENTRY cl_program CL_API_CALL clCreateProgramWithSource(cl_context /* context */, diff --git a/include/CL/cl_intel.h b/include/CL/cl_intel.h index 34f37288..9239bb56 100644 --- a/include/CL/cl_intel.h +++ b/include/CL/cl_intel.h @@ -46,16 +46,16 @@ clIntelPinBuffer(cl_mem); extern CL_API_ENTRY cl_int CL_API_CALL clIntelUnpinBuffer(cl_mem); -/* Set the buffer where to report the performance counters. If NULL, nothing - * will be report - */ -extern CL_API_ENTRY cl_int CL_API_CALL -clIntelSetReportBuffer(cl_command_queue, cl_mem); - /* Get the generation of the Gen device (used to load the proper binary) */ extern CL_API_ENTRY cl_int CL_API_CALL clIntelGetGenVersion(cl_device_id device, cl_int *ver); +/* Create a program from a LLVM source file */ +extern CL_API_ENTRY cl_program CL_API_CALL +clCreateProgramWithLLVM(cl_context /* context */, + const char * /* file */, + cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0; + #ifdef __cplusplus } #endif |