iso::cl::Program Class Reference

#include <iso_cl_program.h>

Collaboration diagram for iso::cl::Program:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Program (Device &pDevice)
 ~Program ()
bool initialized () const
void initialize () throw (CLException)
cl_program & program ()
bool loaded () const
bool built () const
void loadSource (base::String pFileName) throw (CLException)
void build () throw (CLException)
data::IndexHash< base::String,
Kernel > & 
kernels ()
Kernelkernel (int pKernelIndex) throw (CLException)
Kernelkernel (const base::String &pKernelName) throw (CLException)
KernelresetKernel (const base::String &pKernelName) throw (CLException)

Protected Member Functions

void createKernels () throw (CLException)

Protected Attributes

base::String mFileName
DevicemDevice
cl_program mProgram
char * mSourceCode
bool mLoaded
bool mBuilt
data::IndexHash< base::String,
Kernel
mKernels

Constructor & Destructor Documentation

Program::Program ( Device pDevice  ) 

Program::~Program (  ) 


Member Function Documentation

bool iso::cl::Program::initialized (  )  const [inline]

void iso::cl::Program::initialize (  )  throw (CLException)

cl_program & Program::program (  ) 

bool Program::loaded (  )  const

bool Program::built (  )  const

void Program::loadSource ( base::String  pFileName  )  throw (CLException)

void Program::build (  )  throw (CLException)

data::IndexHash< base::String, Kernel > & Program::kernels (  ) 

Kernel & Program::kernel ( int  pKernelIndex  )  throw (CLException)

Kernel & Program::kernel ( const base::String &  pKernelName  )  throw (CLException)

Kernel & Program::resetKernel ( const base::String &  pKernelName  )  throw (CLException)

void Program::createKernels (  )  throw (CLException) [protected]


Member Data Documentation

base::String iso::cl::Program::mFileName [protected]

Device& iso::cl::Program::mDevice [protected]

cl_program iso::cl::Program::mProgram [protected]

char* iso::cl::Program::mSourceCode [protected]

bool iso::cl::Program::mLoaded [protected]

bool iso::cl::Program::mBuilt [protected]

data::IndexHash< base::String, Kernel > iso::cl::Program::mKernels [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