#include <iso_cl_kernel.h>
Collaboration diagram for iso::cl::Kernel:
Public Member Functions | |
Kernel (const base::String &pName, Program &pProgram) throw (CLException) | |
~Kernel () | |
bool | initialized () const |
const base::String & | name () const |
cl_kernel & | kernel () |
int | workDim () const |
int * | workItemCount () const |
int * | workGroupSize () const |
void | setWorkload (int pWorkDim, int *pWorkItemCount) throw (CLException) |
void | setWorkload (int pWorkDim, int *pWorkItemCount, int *pWorkGroupSize) throw (CLException) |
template<typename DataType> | |
void | setArgument (DataType &pArgument, int pArgIndex) throw (CLException) |
template<typename DataType> | |
void | setArgument (DataType *pArguments, int pArgumentCount, int pArgIndex) throw (CLException) |
void | create () throw (CLException) |
template<> | |
void | setArgument (MemoryObject &pArgument, int pArgIndex) throw (CLException) |
template<> | |
void | setArgument (Sampler &pArgument, int pArgIndex) throw (CLException) |
Protected Attributes | |
base::String | mName |
cl_kernel | mKernel |
Program & | mProgram |
int | mWorkDim |
int * | mWorkItemCount |
int * | mWorkGroupSize |
Kernel::Kernel | ( | const base::String & | pName, | |
Program & | pProgram | |||
) | throw (CLException) |
Kernel::~Kernel | ( | ) |
bool iso::cl::Kernel::initialized | ( | ) | const [inline] |
const base::String & Kernel::name | ( | ) | const |
cl_kernel & Kernel::kernel | ( | ) |
int Kernel::workDim | ( | ) | const |
int * Kernel::workItemCount | ( | ) | const |
int * Kernel::workGroupSize | ( | ) | const |
void Kernel::setWorkload | ( | int | pWorkDim, | |
int * | pWorkItemCount | |||
) | throw (CLException) |
void Kernel::setWorkload | ( | int | pWorkDim, | |
int * | pWorkItemCount, | |||
int * | pWorkGroupSize | |||
) | throw (CLException) |
void iso::cl::Kernel::setArgument | ( | DataType & | pArgument, | |
int | pArgIndex | |||
) | throw (CLException) |
void iso::cl::Kernel::setArgument | ( | DataType * | pArguments, | |
int | pArgumentCount, | |||
int | pArgIndex | |||
) | throw (CLException) |
void Kernel::create | ( | ) | throw (CLException) |
void iso::cl::Kernel::setArgument | ( | MemoryObject & | pArgument, | |
int | pArgIndex | |||
) | throw (CLException) |
void iso::cl::Kernel::setArgument | ( | Sampler & | pArgument, | |
int | pArgIndex | |||
) | throw (CLException) |
base::String iso::cl::Kernel::mName [protected] |
cl_kernel iso::cl::Kernel::mKernel [protected] |
Program& iso::cl::Kernel::mProgram [protected] |
int iso::cl::Kernel::mWorkDim [protected] |
int* iso::cl::Kernel::mWorkItemCount [protected] |
int* iso::cl::Kernel::mWorkGroupSize [protected] |