#include <iso_cl_program.h>
Collaboration diagram for iso::cl::Program:
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 () |
Kernel & | kernel (int pKernelIndex) throw (CLException) |
Kernel & | kernel (const base::String &pKernelName) throw (CLException) |
Kernel & | resetKernel (const base::String &pKernelName) throw (CLException) |
Protected Member Functions | |
void | createKernels () throw (CLException) |
Protected Attributes | |
base::String | mFileName |
Device & | mDevice |
cl_program | mProgram |
char * | mSourceCode |
bool | mLoaded |
bool | mBuilt |
data::IndexHash< base::String, Kernel > | mKernels |
Program::Program | ( | Device & | pDevice | ) |
Program::~Program | ( | ) |
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] |
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] |