From 5fc4ffe5c125996f7f369ce4171d7e310b4f179d Mon Sep 17 00:00:00 2001 From: Benjamin Segovia Date: Wed, 21 Mar 2012 17:28:25 +0000 Subject: Removed Gen6 Stripped out all dependencies from previous compiler Added a dependency on the new compiler --- include/CL/cl.h | 2 +- include/CL/cl_intel.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'include') 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 -- cgit v1.2.3