cf4ocl (C Framework for OpenCL)  v2.1.0
Object-oriented framework for developing and benchmarking OpenCL projects in C/C++
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
_ccl_kernel_wrapper.h
Go to the documentation of this file.
1 /*
2  * This file is part of cf4ocl (C Framework for OpenCL).
3  *
4  * cf4ocl is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License as
6  * published by the Free Software Foundation, either version 3 of the
7  * License, or (at your option) any later version.
8  *
9  * cf4ocl is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with cf4ocl. If not, see
16  * <http://www.gnu.org/licenses/>.
17  * */
18 
30 #ifndef __CCL_KERNEL_WRAPPER_H_
31 #define __CCL_KERNEL_WRAPPER_H_
32 
33 #include "ccl_oclversions.h"
34 
35 #ifdef CL_VERSION_1_2
36 
37 /* Kernel argument information adapter between a ccl_wrapper_info_fp() function
38  * and the clGetKernelArgInfo() function. */
39 cl_int ccl_kernel_get_arg_info_adapter(cl_kernel kernel, void* ptr_arg_indx,
40  cl_kernel_arg_info param_name, size_t param_value_size, void *param_value,
41  size_t* param_value_size_ret);
42 
43 #endif /* CL_VERSION_1_2 */
44 
45 #endif /* __CCL_KERNEL_WRAPPER_H_ */
Header for normalizing OpenCL versions within cf4ocl.