gpuip::Kernel Struct Reference

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< BufferLinkinBuffers
 Buffers used for input data. Can not be modified.
std::vector< BufferLinkoutBuffers
 Buffers used to output data. Can not be read from.
std::vector< Parameter< int > > paramsInt
 Integer parameters.
std::vector< Parameter< float > > paramsFloat
 Float parameters.

Field Documentation

std::string gpuip::Kernel::code

Kernel code.

Must be set before the ImageProcessor::Build call.

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.

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.


The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 21 Aug 2014 for gpuip by  doxygen 1.6.1