ASL  0.1.7
Advanced Simulation Library
Public Member Functions | List of all members
cl::size_t< N > Class Template Reference

class used to interface between C++ and OpenCL C calls that require arrays of size_t values, whose size is known statically. More...

#include <cl.hpp>

Inheritance diagram for cl::size_t< N >:
Inheritance graph
[legend]

Public Member Functions

 size_t ()
 Initialize size_t to all 0s. More...
 
::size_toperator[] (int index)
 
const ::size_toperator[] (int index) const
 
 operator::size_t * ()
 Conversion operator to T*. More...
 
 operator const ::size_t * () const
 Conversion operator to const T*. More...
 

Detailed Description

template<int N>
class cl::size_t< N >

class used to interface between C++ and OpenCL C calls that require arrays of size_t values, whose size is known statically.

Definition at line 998 of file cl.hpp.

Constructor & Destructor Documentation

◆ size_t()

template<int N>
cl::size_t< N >::size_t ( )
inline

Initialize size_t to all 0s.

Definition at line 1005 of file cl.hpp.

Member Function Documentation

◆ operator const ::size_t *()

template<int N>
cl::size_t< N >::operator const ::size_t * ( ) const
inline

Conversion operator to const T*.

Definition at line 1026 of file cl.hpp.

◆ operator::size_t *()

template<int N>
cl::size_t< N >::operator::size_t * ( )
inline

Conversion operator to T*.

Definition at line 1023 of file cl.hpp.

◆ operator[]() [1/2]

template<int N>
::size_t& cl::size_t< N >::operator[] ( int  index)
inline

Definition at line 1012 of file cl.hpp.

◆ operator[]() [2/2]

template<int N>
const ::size_t& cl::size_t< N >::operator[] ( int  index) const
inline

Definition at line 1017 of file cl.hpp.


The documentation for this class was generated from the following file: