DPC++ Runtime
Runtime libraries for oneAPI Data Parallel C++
cl::sycl::detail::Builder Class Reference

#include <CL/sycl/detail/helpers.hpp>

Public Member Functions

 Builder ()=delete
 

Static Public Member Functions

template<int Dims>
static group< Dims > createGroup (const range< Dims > &Global, const range< Dims > &Local, const range< Dims > &Group, const id< Dims > &Index)
 
template<int Dims>
static group< Dims > createGroup (const range< Dims > &Global, const range< Dims > &Local, const id< Dims > &Index)
 
template<class ResType >
static ResType createSubGroupMask (uint32_t Bits, size_t BitsNum)
 
template<int Dims, bool WithOffset>
static detail::enable_if_t< WithOffset, item< Dims, WithOffset > > createItem (const range< Dims > &Extent, const id< Dims > &Index, const id< Dims > &Offset)
 
template<int Dims, bool WithOffset>
static detail::enable_if_t<!WithOffset, item< Dims, WithOffset > > createItem (const range< Dims > &Extent, const id< Dims > &Index)
 
template<int Dims>
static nd_item< Dims > createNDItem (const item< Dims, true > &Global, const item< Dims, false > &Local, const group< Dims > &Group)
 
template<int Dims>
static h_item< Dims > createHItem (const item< Dims, false > &Global, const item< Dims, false > &Local)
 
template<int Dims>
static h_item< Dims > createHItem (const item< Dims, false > &Global, const item< Dims, false > &Local, const range< Dims > &Flex)
 
template<int Dims, bool WithOffset>
static void updateItemIndex (cl::sycl::item< Dims, WithOffset > &Item, const id< Dims > &NextIndex)
 

Detailed Description

Definition at line 68 of file helpers.hpp.

Constructor & Destructor Documentation

◆ Builder()

cl::sycl::detail::Builder::Builder ( )
delete

Member Function Documentation

◆ createGroup() [1/2]

template<int Dims>
static group<Dims> cl::sycl::detail::Builder::createGroup ( const range< Dims > &  Global,
const range< Dims > &  Local,
const id< Dims > &  Index 
)
inlinestatic

Definition at line 80 of file helpers.hpp.

◆ createGroup() [2/2]

template<int Dims>
static group<Dims> cl::sycl::detail::Builder::createGroup ( const range< Dims > &  Global,
const range< Dims > &  Local,
const range< Dims > &  Group,
const id< Dims > &  Index 
)
inlinestatic

Definition at line 74 of file helpers.hpp.

◆ createHItem() [1/2]

template<int Dims>
static h_item<Dims> cl::sycl::detail::Builder::createHItem ( const item< Dims, false > &  Global,
const item< Dims, false > &  Local 
)
inlinestatic

Definition at line 112 of file helpers.hpp.

◆ createHItem() [2/2]

template<int Dims>
static h_item<Dims> cl::sycl::detail::Builder::createHItem ( const item< Dims, false > &  Global,
const item< Dims, false > &  Local,
const range< Dims > &  Flex 
)
inlinestatic

Definition at line 118 of file helpers.hpp.

◆ createItem() [1/2]

template<int Dims, bool WithOffset>
static detail::enable_if_t<!WithOffset, item<Dims, WithOffset> > cl::sycl::detail::Builder::createItem ( const range< Dims > &  Extent,
const id< Dims > &  Index 
)
inlinestatic

Definition at line 100 of file helpers.hpp.

◆ createItem() [2/2]

template<int Dims, bool WithOffset>
static detail::enable_if_t<WithOffset, item<Dims, WithOffset> > cl::sycl::detail::Builder::createItem ( const range< Dims > &  Extent,
const id< Dims > &  Index,
const id< Dims > &  Offset 
)
inlinestatic

Definition at line 93 of file helpers.hpp.

◆ createNDItem()

template<int Dims>
static nd_item<Dims> cl::sycl::detail::Builder::createNDItem ( const item< Dims, true > &  Global,
const item< Dims, false > &  Local,
const group< Dims > &  Group 
)
inlinestatic

Definition at line 105 of file helpers.hpp.

◆ createSubGroupMask()

template<class ResType >
static ResType cl::sycl::detail::Builder::createSubGroupMask ( uint32_t  Bits,
size_t  BitsNum 
)
inlinestatic

Definition at line 87 of file helpers.hpp.

◆ updateItemIndex()

template<int Dims, bool WithOffset>
static void cl::sycl::detail::Builder::updateItemIndex ( cl::sycl::item< Dims, WithOffset > &  Item,
const id< Dims > &  NextIndex 
)
inlinestatic

Definition at line 125 of file helpers.hpp.


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