DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::ext::oneapi::experimental::radix_sorter< ValT, OrderT, BitsPerPass > Class Template Reference

#include <sycl/ext/oneapi/experimental/group_helpers_sorters.hpp>

Public Member Functions

template<size_t Extent>
 radix_sorter (sycl::span< std::byte, Extent > scratch_, const std::bitset< sizeof(ValT) *CHAR_BIT > mask=std::bitset< sizeof(ValT) *CHAR_BIT >((std::numeric_limits< unsigned long long >::max)()))
 
template<typename GroupT , typename PtrT >
void operator() (GroupT g, PtrT first, PtrT last)
 
template<typename GroupT >
ValT operator() (GroupT g, ValT val)
 

Static Public Member Functions

static constexpr size_t memory_required (sycl::memory_scope scope, size_t range_size)
 
template<int dimensions = 1>
static constexpr size_t memory_required (sycl::memory_scope scope, sycl::range< dimensions > local_range)
 

Detailed Description

template<typename ValT, sorting_order OrderT = sorting_order::ascending, unsigned int BitsPerPass = 4>
class sycl::_V1::ext::oneapi::experimental::radix_sorter< ValT, OrderT, BitsPerPass >

Definition at line 110 of file group_helpers_sorters.hpp.

Constructor & Destructor Documentation

◆ radix_sorter()

template<typename ValT , sorting_order OrderT = sorting_order::ascending, unsigned int BitsPerPass = 4>
template<size_t Extent>
sycl::_V1::ext::oneapi::experimental::radix_sorter< ValT, OrderT, BitsPerPass >::radix_sorter ( sycl::span< std::byte, Extent >  scratch_,
const std::bitset< sizeof(ValT) *CHAR_BIT >  mask = std::bitset<sizeof(ValT) * CHAR_BIT>(                       (std::numeric_limits<unsigned long long>::max)()) 
)
inline

Definition at line 121 of file group_helpers_sorters.hpp.

Member Function Documentation

◆ memory_required() [1/2]

template<typename ValT , sorting_order OrderT = sorting_order::ascending, unsigned int BitsPerPass = 4>
static constexpr size_t sycl::_V1::ext::oneapi::experimental::radix_sorter< ValT, OrderT, BitsPerPass >::memory_required ( sycl::memory_scope  scope,
size_t  range_size 
)
inlinestaticconstexpr

Definition at line 176 of file group_helpers_sorters.hpp.

◆ memory_required() [2/2]

template<typename ValT , sorting_order OrderT = sorting_order::ascending, unsigned int BitsPerPass = 4>
template<int dimensions = 1>
static constexpr size_t sycl::_V1::ext::oneapi::experimental::radix_sorter< ValT, OrderT, BitsPerPass >::memory_required ( sycl::memory_scope  scope,
sycl::range< dimensions >  local_range 
)
inlinestaticconstexpr

Definition at line 186 of file group_helpers_sorters.hpp.

◆ operator()() [1/2]

template<typename ValT , sorting_order OrderT = sorting_order::ascending, unsigned int BitsPerPass = 4>
template<typename GroupT , typename PtrT >
void sycl::_V1::ext::oneapi::experimental::radix_sorter< ValT, OrderT, BitsPerPass >::operator() ( GroupT  g,
PtrT  first,
PtrT  last 
)
inline

Definition at line 141 of file group_helpers_sorters.hpp.

References sycl::_V1::sycl_category().

◆ operator()() [2/2]

template<typename ValT , sorting_order OrderT = sorting_order::ascending, unsigned int BitsPerPass = 4>
template<typename GroupT >
ValT sycl::_V1::ext::oneapi::experimental::radix_sorter< ValT, OrderT, BitsPerPass >::operator() ( GroupT  g,
ValT  val 
)
inline

Definition at line 158 of file group_helpers_sorters.hpp.

References sycl::_V1::sycl_category().


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