iso::cl::Kernel Class Reference

#include <iso_cl_kernel.h>

Collaboration diagram for iso::cl::Kernel:

Collaboration graph
[legend]
List of all members.

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
ProgrammProgram
int mWorkDim
int * mWorkItemCount
int * mWorkGroupSize

Constructor & Destructor Documentation

Kernel::Kernel ( const base::String &  pName,
Program pProgram 
) throw (CLException)

Kernel::~Kernel (  ) 


Member Function Documentation

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)

template<typename DataType>
void iso::cl::Kernel::setArgument ( DataType pArgument,
int  pArgIndex 
) throw (CLException)

template<typename DataType>
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)


Member Data Documentation

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]


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 13:51:14 2011 for iso_cl by  doxygen 1.5.1