Data Structures | |
| struct | BufferLink |
| Tells a kernel which buffers to use in the argument list. More... | |
Public Types | |
|
typedef std::tr1::shared_ptr < Kernel > | Ptr |
| Smart pointer. | |
Public Member Functions | |
| Kernel (const std::string &name) | |
Data Fields | |
| const std::string | name |
| Unique identifying name. | |
| std::string | code |
| Kernel code. | |
| std::vector< BufferLink > | inBuffers |
| Buffers used for input data. Can not be modified. | |
| std::vector< BufferLink > | outBuffers |
| Buffers used to output data. Can not be read from. | |
| std::vector< Parameter< int > > | paramsInt |
| Integer parameters. | |
| std::vector< Parameter< float > > | paramsFloat |
| Float parameters. | |
| std::string gpuip::Kernel::code |
Kernel code.
Must be set before the ImageProcessor::Build call.
| std::vector<BufferLink> gpuip::Kernel::inBuffers |
Buffers used for input data. Can not be modified.
Must be set before the ImageProcessor::Run call.
| const std::string gpuip::Kernel::name |
Unique identifying name.
Each kernel must have a unique name. The kernel function in OpenCL and CUDA has to have the same name.
| std::vector<BufferLink> gpuip::Kernel::outBuffers |
Buffers used to output data. Can not be read from.
Must be set before the ImageProcessor::Run call.
| std::vector<Parameter<float> > gpuip::Kernel::paramsFloat |
Float parameters.
Must be set before the ImageProcessor::Run call.
| std::vector<Parameter<int> > gpuip::Kernel::paramsInt |
Integer parameters.
Must be set before the ImageProcessor::Run call.
1.6.1