Grok 12.0.1
Static Public Member Functions | Static Public Attributes | List of all members
hwy::SortConstants Struct Reference

#include <shared-inl.h>

Static Public Member Functions

template<size_t kLPK>
static constexpr HWY_INLINE size_t BaseCaseNumLanes (size_t N)
 
static constexpr HWY_INLINE size_t LanesPerChunk (size_t sizeof_t)
 
template<typename T >
static constexpr HWY_INLINE size_t SampleLanes ()
 
static constexpr HWY_INLINE size_t PartitionBufNum (size_t N)
 
template<typename T , size_t kLPK>
static constexpr HWY_INLINE size_t BufNum (size_t N)
 
template<typename T , size_t kLPK>
static constexpr HWY_INLINE size_t BufBytes (size_t vector_size)
 
template<size_t kLPK>
static constexpr HWY_INLINE size_t MaxBufBytes (size_t vector_size)
 

Static Public Attributes

static constexpr size_t kMaxCols = 16
 
static constexpr size_t kMaxRows = 16
 
static constexpr size_t kPartitionUnroll = 4
 

Member Function Documentation

◆ BaseCaseNumLanes()

template<size_t kLPK>
static constexpr HWY_INLINE size_t hwy::SortConstants::BaseCaseNumLanes ( size_t N)
inlinestaticconstexpr

References HWY_MIN, kMaxCols, and kMaxRows.

◆ BufBytes()

template<typename T , size_t kLPK>
static constexpr HWY_INLINE size_t hwy::SortConstants::BufBytes ( size_t vector_size)
inlinestaticconstexpr

◆ BufNum()

template<typename T , size_t kLPK>
static constexpr HWY_INLINE size_t hwy::SortConstants::BufNum ( size_t N)
inlinestaticconstexpr

References HWY_MAX, and PartitionBufNum().

◆ LanesPerChunk()

static constexpr HWY_INLINE size_t hwy::SortConstants::LanesPerChunk ( size_t sizeof_t)
inlinestaticconstexpr

Referenced by SampleLanes().

◆ MaxBufBytes()

template<size_t kLPK>
static constexpr HWY_INLINE size_t hwy::SortConstants::MaxBufBytes ( size_t vector_size)
inlinestaticconstexpr

References HWY_MAX.

◆ PartitionBufNum()

static constexpr HWY_INLINE size_t hwy::SortConstants::PartitionBufNum ( size_t N)
inlinestaticconstexpr

References kPartitionUnroll.

Referenced by BufNum().

◆ SampleLanes()

template<typename T >
static constexpr HWY_INLINE size_t hwy::SortConstants::SampleLanes ( )
inlinestaticconstexpr

References LanesPerChunk().

Member Data Documentation

◆ kMaxCols

constexpr size_t hwy::SortConstants::kMaxCols = 16
staticconstexpr

Referenced by BaseCaseNumLanes().

◆ kMaxRows

constexpr size_t hwy::SortConstants::kMaxRows = 16
staticconstexpr

Referenced by BaseCaseNumLanes().

◆ kPartitionUnroll

constexpr size_t hwy::SortConstants::kPartitionUnroll = 4
staticconstexpr

Referenced by PartitionBufNum().


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