DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::ext::oneapi::experimental::default_sorters::group_sorter< T, CompareT, ElementsPerWorkItem > Class Template Reference

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

Public Member Functions

template<std::size_t Extent>
 group_sorter (sycl::span< std::byte, Extent > scratch_, CompareT comp_=CompareT{})
 
template<typename Group >
operator() ([[maybe_unused]] Group g, T val)
 
template<typename Group , typename Properties >
void operator() ([[maybe_unused]] Group g, [[maybe_unused]] sycl::span< T, ElementsPerWorkItem > values, [[maybe_unused]] Properties properties)
 

Static Public Member Functions

static std::size_t memory_required ([[maybe_unused]] sycl::memory_scope scope, size_t range_size)
 

Detailed Description

template<typename T, typename CompareT = std::less<>, std::size_t ElementsPerWorkItem = 1>
class sycl::_V1::ext::oneapi::experimental::default_sorters::group_sorter< T, CompareT, ElementsPerWorkItem >

Definition at line 137 of file group_helpers_sorters.hpp.

Constructor & Destructor Documentation

◆ group_sorter()

template<typename T , typename CompareT = std::less<>, std::size_t ElementsPerWorkItem = 1>
template<std::size_t Extent>
sycl::_V1::ext::oneapi::experimental::default_sorters::group_sorter< T, CompareT, ElementsPerWorkItem >::group_sorter ( sycl::span< std::byte, Extent >  scratch_,
CompareT  comp_ = CompareT{} 
)
inline

Definition at line 143 of file group_helpers_sorters.hpp.

Member Function Documentation

◆ memory_required()

template<typename T , typename CompareT = std::less<>, std::size_t ElementsPerWorkItem = 1>
static std::size_t sycl::_V1::ext::oneapi::experimental::default_sorters::group_sorter< T, CompareT, ElementsPerWorkItem >::memory_required ( [[maybe_unused] ] sycl::memory_scope  scope,
size_t  range_size 
)
inlinestatic

Definition at line 193 of file group_helpers_sorters.hpp.

◆ operator()() [1/2]

template<typename T , typename CompareT = std::less<>, std::size_t ElementsPerWorkItem = 1>
template<typename Group , typename Properties >
void sycl::_V1::ext::oneapi::experimental::default_sorters::group_sorter< T, CompareT, ElementsPerWorkItem >::operator() ( [[maybe_unused] ] Group  g,
[[maybe_unused] ] sycl::span< T, ElementsPerWorkItem >  values,
[[maybe_unused] ] Properties  properties 
)
inline

◆ operator()() [2/2]

template<typename T , typename CompareT = std::less<>, std::size_t ElementsPerWorkItem = 1>
template<typename Group >
T sycl::_V1::ext::oneapi::experimental::default_sorters::group_sorter< T, CompareT, ElementsPerWorkItem >::operator() ( [[maybe_unused] ] Group  g,
val 
)
inline

Definition at line 147 of file group_helpers_sorters.hpp.


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