Clover Git
OpenCL 1.1 software implementation
Functions

api_kernel.cpp File Reference

Kernels. More...

#include "CL/cl.h"
#include <core/program.h>
#include <core/kernel.h>
Include dependency graph for api_kernel.cpp:

Go to the source code of this file.

Functions

cl_kernel clCreateKernel (cl_program program, const char *kernel_name, cl_int *errcode_ret)
cl_int clCreateKernelsInProgram (cl_program program, cl_uint num_kernels, cl_kernel *kernels, cl_uint *num_kernels_ret)
cl_int clRetainKernel (cl_kernel kernel)
cl_int clReleaseKernel (cl_kernel kernel)
cl_int clSetKernelArg (cl_kernel kernel, cl_uint arg_indx, size_t arg_size, const void *arg_value)
cl_int clGetKernelInfo (cl_kernel kernel, cl_kernel_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)
cl_int clGetKernelWorkGroupInfo (cl_kernel kernel, cl_device_id device, cl_kernel_work_group_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Detailed Description

Kernels.

Definition in file api_kernel.cpp.


Function Documentation

cl_kernel clCreateKernel ( cl_program  program,
const char *  kernel_name,
cl_int *  errcode_ret 
)

Definition at line 40 of file api_kernel.cpp.

References Coal::Program::Built, and Coal::Object::T_Program.

cl_int clCreateKernelsInProgram ( cl_program  program,
cl_uint  num_kernels,
cl_kernel *  kernels,
cl_uint *  num_kernels_ret 
)

Definition at line 79 of file api_kernel.cpp.

References Coal::Program::Built, and Coal::Object::T_Program.

cl_int clGetKernelInfo ( cl_kernel  kernel,
cl_kernel_info  param_name,
size_t  param_value_size,
void *  param_value,
size_t *  param_value_size_ret 
)

Definition at line 177 of file api_kernel.cpp.

References Coal::Object::T_Kernel.

cl_int clGetKernelWorkGroupInfo ( cl_kernel  kernel,
cl_device_id  device,
cl_kernel_work_group_info  param_name,
size_t  param_value_size,
void *  param_value,
size_t *  param_value_size_ret 
)

Definition at line 191 of file api_kernel.cpp.

References Coal::Object::T_Kernel.

cl_int clReleaseKernel ( cl_kernel  kernel)

Definition at line 153 of file api_kernel.cpp.

References Coal::Object::T_Kernel.

cl_int clRetainKernel ( cl_kernel  kernel)

Definition at line 142 of file api_kernel.cpp.

References Coal::Object::T_Kernel.

cl_int clSetKernelArg ( cl_kernel  kernel,
cl_uint  arg_indx,
size_t  arg_size,
const void *  arg_value 
)

Definition at line 165 of file api_kernel.cpp.

References Coal::Object::T_Kernel.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines