mesa  18.2.8
About: Mesa is an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics (main library code).
  Fossies Dox: mesa-18.2.8.tar.xz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

cl::NDRange Class Reference

NDRange interface. More...

#include <cl.hpp>

Collaboration diagram for cl::NDRange:

Public Member Functions

 NDRange ()
 
 NDRange (::size_t size0)
 
 NDRange (::size_t size0, ::size_t size1)
 
 NDRange (::size_t size0, ::size_t size1, ::size_t size2)
 
 operator const ::size_t * () const
 
::size_t dimensions () const
 

Private Attributes

size_t< 3 > sizes_
 
cl_uint dimensions_
 

Detailed Description

NDRange interface.

Definition at line 2211 of file cl.hpp.

Constructor & Destructor Documentation

◆ NDRange() [1/4]

cl::NDRange::NDRange ( )
inline

Definition at line 2218 of file cl.hpp.

◆ NDRange() [2/4]

cl::NDRange::NDRange ( ::size_t  size0)
inline

Definition at line 2222 of file cl.hpp.

References cl::vector< T, N >::push_back(), and sizes_.

◆ NDRange() [3/4]

cl::NDRange::NDRange ( ::size_t  size0,
::size_t  size1 
)
inline

Definition at line 2228 of file cl.hpp.

References cl::vector< T, N >::push_back(), and sizes_.

◆ NDRange() [4/4]

cl::NDRange::NDRange ( ::size_t  size0,
::size_t  size1,
::size_t  size2 
)
inline

Definition at line 2235 of file cl.hpp.

References cl::vector< T, N >::push_back(), and sizes_.

Member Function Documentation

◆ dimensions()

::size_t cl::NDRange::dimensions ( ) const
inline

Definition at line 2244 of file cl.hpp.

References dimensions_.

Referenced by cl::CommandQueue::enqueueNDRangeKernel().

◆ operator const ::size_t *()

cl::NDRange::operator const ::size_t * ( ) const
inline

Definition at line 2243 of file cl.hpp.

References sizes_.

Field Documentation

◆ dimensions_

cl_uint cl::NDRange::dimensions_
private

Definition at line 2215 of file cl.hpp.

Referenced by dimensions().

◆ sizes_

size_t<3> cl::NDRange::sizes_
private

Definition at line 2214 of file cl.hpp.

Referenced by NDRange(), and operator const ::size_t *().


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