GCVL
Multi-platform (Windows, Unix and Mac OS) C++/OpenCL/CUDA library with several Computer Vision algorithms.
OpenCL_Data< T > Class Template Reference

#include <oclutils.h>

List of all members.

Public Member Functions

 OpenCL_Data ()
 Default constructor.
void Initialize (T _data)
 Inititalizes the data object.
void Set_as_Kernel_Argument (cl_kernel &kernel, const int order)
 Sets the desired data as a certain kernel argument.

template<class T>
class OpenCL_Data< T >


Constructor & Destructor Documentation

template<class T >
OpenCL_Data< T >::OpenCL_Data ( )

Default constructor.


Member Function Documentation

template<class T>
void OpenCL_Data< T >::Initialize ( T  _data)

Inititalizes the data object.

Parameters:
_datacontents of the data element.
template<class T >
void OpenCL_Data< T >::Set_as_Kernel_Argument ( cl_kernel &  kernel,
const int  order 
)

Sets the desired data as a certain kernel argument.

Parameters:
kernelOpenCL kernel in which the array will be set as an argument.
ordernumber that denotes the position of the argument.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Defines