18#ifndef itkOpenCLWorkSize_h
19#define itkOpenCLWorkSize_h
105 OpenCLSize(
const std::size_t width,
const std::size_t height)
114 OpenCLSize(
const std::size_t width,
const std::size_t height,
const std::size_t depth)
245template <
typename charT,
typename traits>
246inline std::basic_ostream<charT, traits> &
253 strm <<
"OpenCLSize(null)";
257 strm <<
"OpenCLSize(" << size.
GetWidth() <<
')';
The OpenCLDevice class represents the collection of OpenCL devices to be used by the host.
The OpenCLSize class defines the size of an item of work for an OpenCL kernel.
const std::vcl_size_t * GetSizes() const
OpenCLSize(const SizeType2D &size)
OpenCLSize(const std::vcl_size_t width, const std::vcl_size_t height, const std::vcl_size_t depth)
OpenCLSize(const SizeType1D &size)
static OpenCLSize GetLocalWorkSize(const OpenCLDevice &device)
static OpenCLSize GetLocalWorkSize(const OpenCLSize &maxWorkItemSize, const std::vcl_size_t maxItemsPerGroup)
OpenCLSize(const std::vcl_size_t size)
OpenCLSize RoundTo(const OpenCLSize &size) const
OpenCLSize & operator=(const Null &)
std::vcl_size_t GetDepth() const
cl_uint GetDimension() const
std::vcl_size_t & operator[](const std::vcl_size_t dim)
OpenCLSize(const std::vcl_size_t width, const std::vcl_size_t height)
std::vcl_size_t m_Sizes[3]
std::vcl_size_t GetHeight() const
OpenCLSize(const SizeType3D &size)
std::vcl_size_t operator[](const std::vcl_size_t dim) const
std::vcl_size_t GetWidth() const
bool ITKOpenCL_EXPORT operator==(const OpenCLCommandQueue &lhs, const OpenCLCommandQueue &rhs)
bool ITKOpenCL_EXPORT operator!=(const OpenCLCommandQueue &lhs, const OpenCLCommandQueue &rhs)
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &strm, const OpenCLCommandQueue &queue)