[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]

details Accessors for OpenCL types VIGRA

Classes

class  cl_charNAccessor_COMP
 
class  cl_TYPE3WriteAccessor_s1
 
class  cl_TYPE3WriteAccessor_s2
 

Detailed Description

Encapsulate access to members of OpenCL vector types.

#include <vigra/multi_opencl.hxx>

OpenCL 1.1 [6.1.7] - Vector Components

where TYPE is one of {char, uchar, short, ushort, int, uint, long, ulong, float, double }

For example:

#include <vigra/multi_opencl.hxx>
MultiArrayView<2, cl_double3 > dataView = ...;
vigra::inspectMultiArray(srcMultiArrayRange(dataView, cl_double3Accessor_z()), minmax);
std::cout << "range of .z: " << minmax.min << " - " << minmax.max;

© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de)
Heidelberg Collaboratory for Image Processing, University of Heidelberg, Germany

html generated using doxygen and Python
vigra 1.11.1 (Fri May 19 2017)