alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::internal Namespace Reference

alpaka internal implementations. More...

Namespaces

namespace  concepts
namespace  generic
namespace  intrinsic

Classes

struct  CopyConstructableDataSource
 Specialize the trait for DataSource class if the object is copyable. More...
struct  CopyConstructableDataSource< MdSpan< T_Type, T_Extents, T_Pitches, T_MemAlignment > >
struct  CopyConstructableDataSource< MdSpanArray< T_ArrayType, T_IndexType, T_MemAlignment > >
struct  CopyConstructableDataSource< onHost::SharedBuffer< T_Api, T_Type, T_Extents, T_MemAlignment > >
struct  CopyConstructableDataSource< View< T_Api, T_Type, T_Extents, T_MemAlignment > >
struct  CudaHipIntrinsic
struct  EmuSimd
 Simd array storge for vector data. More...
struct  EmuSimdMask
struct  GetAlignment
struct  GetApi
struct  GetDeviceType
struct  GetElementType
struct  GetExecutor
struct  GetName
struct  GetStaticName
struct  KeyIdx
struct  KeyIdx< X, T_Tuple< T... > >
class  KeyIdx< X, T_Tuple<> >
struct  LoadAsSimd
 Load data from a data source as SIMD vector. More...
struct  LPCast
struct  PCast
struct  SmartMaskValueRef
 Simd mask reference. More...
struct  StlIntrinsic
struct  SyclIntrinsic

Typedefs

template<typename T>
using GetElementType_t = typename GetElementType<T>::type

Functions

constexpr auto getAlignment (auto &&any)
constexpr auto getApi (auto &&any) -> decltype(GetApi::Op< ALPAKA_TYPEOF(any)>{}(any))
template<typename T_Any>
constexpr auto getApi (onHost::Handle< T_Any > &&anyHandle)
constexpr auto getDeviceKind (auto &&any) -> decltype(GetDeviceType::Op< ALPAKA_TYPEOF(any)>{}(any))
template<typename T_Any>
constexpr auto getExecutor (onHost::Handle< T_Any > &&anyHandle)
template<typename T_Any>
constexpr auto getExecutor (T_Any &&any) -> decltype(GetExecutor::Op< ALPAKA_TYPEOF(any)>{}(any))
template<uint32_t T_simdWidth>
constexpr auto loadAsSimd (auto &&anyDataSource, auto dataAlignment, auto const &index)
 Get data as SIMD vector.
template<typename T_Type, uint32_t T_width>
constexpr auto operator!= (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator!= (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator!= (const EmuSimdMask< T_Type, T_width > &lhs, const EmuSimdMask< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator!= (const EmuSimdMask< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator!= (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator!= (T_Type lhs, const EmuSimdMask< T_Type, T_width > &rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator% (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator% (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator% (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator& (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator& (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator& (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator&& (const EmuSimdMask< T_Type, T_width > &lhs, const EmuSimdMask< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator&& (const EmuSimdMask< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator&& (T_Type lhs, const EmuSimdMask< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator* (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator* (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator* (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator+ (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator+ (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator+ (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator- (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator- (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator- (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator/ (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator/ (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator/ (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator< (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator< (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator< (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator<< (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator<< (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator<< (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator<= (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator<= (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator<= (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator== (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator== (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator== (const EmuSimdMask< T_Type, T_width > &lhs, const EmuSimdMask< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator== (const EmuSimdMask< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator== (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator== (T_Type lhs, const EmuSimdMask< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator> (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator> (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator> (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator>= (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator>= (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator>= (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator>> (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator>> (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator>> (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator^ (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator^ (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator^ (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator| (const EmuSimd< T_Type, T_width > &lhs, const EmuSimd< T_Type, T_width > &rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator| (const EmuSimd< T_Type, T_width > &lhs, T_Type rhs)
template<std::integral T_Type, uint32_t T_width>
constexpr auto operator| (T_Type lhs, const EmuSimd< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator|| (const EmuSimdMask< T_Type, T_width > &lhs, const EmuSimdMask< T_Type, T_width > &rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator|| (const EmuSimdMask< T_Type, T_width > &lhs, T_Type rhs)
template<typename T_Type, uint32_t T_width>
constexpr auto operator|| (T_Type lhs, const EmuSimdMask< T_Type, T_width > &rhs)
template<typename T_ValueType, uint32_t T_numElements, alpaka::concepts::Alignment T_Alignment>
consteval uint32_t optimalAlignment ()
 Calculates the best alignment based.
template<typename T>
constexpr auto valueMaskCast (bool condition)
 Convert a bool value into a mask type for SIMD.

Variables

constexpr auto cudaHipIntrinsic = CudaHipIntrinsic{}
constexpr auto stlIntrinsic = StlIntrinsic{}
constexpr auto syclIntrinsic = SyclIntrinsic{}

Detailed Description

alpaka internal implementations.

Attention
do not use any functions from this namespace in our user applications. The interface can change at any time without further notice and is for internal use only.

Typedef Documentation

◆ GetElementType_t

Function Documentation

◆ getAlignment()

auto alpaka::internal::getAlignment ( auto && any)
constexpr

Definition at line 132 of file interface.hpp.

◆ getApi() [1/2]

auto alpaka::internal::getApi ( auto && any) -> decltype(GetApi::Op< ALPAKA_TYPEOF(any)>{}(any))
inlineconstexpr

Definition at line 62 of file interface.hpp.

◆ getApi() [2/2]

template<typename T_Any>
auto alpaka::internal::getApi ( onHost::Handle< T_Any > && anyHandle)
inlineconstexpr

Definition at line 68 of file interface.hpp.

◆ getDeviceKind()

auto alpaka::internal::getDeviceKind ( auto && any) -> decltype(GetDeviceType::Op< ALPAKA_TYPEOF(any)>{}(any))
inlineconstexpr

Definition at line 109 of file interface.hpp.

◆ getExecutor() [1/2]

template<typename T_Any>
auto alpaka::internal::getExecutor ( onHost::Handle< T_Any > && anyHandle)
inlineconstexpr

Definition at line 92 of file interface.hpp.

◆ getExecutor() [2/2]

template<typename T_Any>
auto alpaka::internal::getExecutor ( T_Any && any) -> decltype(GetExecutor::Op< ALPAKA_TYPEOF(any)>{}(any))
inlineconstexpr

Definition at line 86 of file interface.hpp.

◆ loadAsSimd()

template<uint32_t T_simdWidth>
auto alpaka::internal::loadAsSimd ( auto && anyDataSource,
auto dataAlignment,
auto const & index )
constexpr

Get data as SIMD vector.

Load T_simdWidth contiguous data staring from index. The data is contiguous in the fast moving dimension of index.

Template Parameters
T_simdWidthnumber of elements in the SIMD vector
Parameters
anyDataSourcedata source to load data from
dataAlignmentAlignment of the data source resulting SIMD vector. This can be smaller or equal compared to the data source alignment due to possible offsets applied before.
indexOffset index relative to the first element of data source.
Returns
SIMD vector with data loaded from the data source, aligned to dataAlignment

Definition at line 169 of file interface.hpp.

◆ operator!=() [1/6]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator!= ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 200 of file EmuSimdMask.hpp.

◆ operator!=() [2/6]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator!= ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 200 of file EmuSimdMask.hpp.

◆ operator!=() [3/6]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator!= ( const EmuSimdMask< T_Type, T_width > & lhs,
const EmuSimdMask< T_Type, T_width > & rhs )
constexpr

Definition at line 203 of file EmuSimdMask.hpp.

◆ operator!=() [4/6]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator!= ( const EmuSimdMask< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 203 of file EmuSimdMask.hpp.

◆ operator!=() [5/6]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator!= ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 200 of file EmuSimdMask.hpp.

◆ operator!=() [6/6]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator!= ( T_Type lhs,
const EmuSimdMask< T_Type, T_width > & rhs )
constexpr

Definition at line 203 of file EmuSimdMask.hpp.

◆ operator%() [1/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator% ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 235 of file EmuSimd.hpp.

◆ operator%() [2/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator% ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 235 of file EmuSimd.hpp.

◆ operator%() [3/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator% ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 235 of file EmuSimd.hpp.

◆ operator&() [1/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator& ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 238 of file EmuSimd.hpp.

◆ operator&() [2/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator& ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 238 of file EmuSimd.hpp.

◆ operator&() [3/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator& ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 238 of file EmuSimd.hpp.

◆ operator&&() [1/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator&& ( const EmuSimdMask< T_Type, T_width > & lhs,
const EmuSimdMask< T_Type, T_width > & rhs )
constexpr

Definition at line 204 of file EmuSimdMask.hpp.

◆ operator&&() [2/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator&& ( const EmuSimdMask< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 204 of file EmuSimdMask.hpp.

◆ operator&&() [3/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator&& ( T_Type lhs,
const EmuSimdMask< T_Type, T_width > & rhs )
constexpr

Definition at line 204 of file EmuSimdMask.hpp.

◆ operator*() [1/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator* ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 233 of file EmuSimd.hpp.

◆ operator*() [2/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator* ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 233 of file EmuSimd.hpp.

◆ operator*() [3/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator* ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 233 of file EmuSimd.hpp.

◆ operator+() [1/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator+ ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 231 of file EmuSimd.hpp.

◆ operator+() [2/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator+ ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 231 of file EmuSimd.hpp.

◆ operator+() [3/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator+ ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 231 of file EmuSimd.hpp.

◆ operator-() [1/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator- ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 232 of file EmuSimd.hpp.

◆ operator-() [2/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator- ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 232 of file EmuSimd.hpp.

◆ operator-() [3/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator- ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 232 of file EmuSimd.hpp.

◆ operator/() [1/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator/ ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 234 of file EmuSimd.hpp.

◆ operator/() [2/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator/ ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 234 of file EmuSimd.hpp.

◆ operator/() [3/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator/ ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 234 of file EmuSimd.hpp.

◆ operator<() [1/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator< ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 198 of file EmuSimdMask.hpp.

◆ operator<() [2/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator< ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 198 of file EmuSimdMask.hpp.

◆ operator<() [3/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator< ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 198 of file EmuSimdMask.hpp.

◆ operator<<() [1/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator<< ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 236 of file EmuSimd.hpp.

◆ operator<<() [2/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator<< ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 236 of file EmuSimd.hpp.

◆ operator<<() [3/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator<< ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 236 of file EmuSimd.hpp.

◆ operator<=() [1/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator<= ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 197 of file EmuSimdMask.hpp.

◆ operator<=() [2/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator<= ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 197 of file EmuSimdMask.hpp.

◆ operator<=() [3/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator<= ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 197 of file EmuSimdMask.hpp.

◆ operator==() [1/6]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator== ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 199 of file EmuSimdMask.hpp.

◆ operator==() [2/6]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator== ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 199 of file EmuSimdMask.hpp.

◆ operator==() [3/6]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator== ( const EmuSimdMask< T_Type, T_width > & lhs,
const EmuSimdMask< T_Type, T_width > & rhs )
constexpr

Definition at line 202 of file EmuSimdMask.hpp.

◆ operator==() [4/6]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator== ( const EmuSimdMask< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 202 of file EmuSimdMask.hpp.

◆ operator==() [5/6]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator== ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 199 of file EmuSimdMask.hpp.

◆ operator==() [6/6]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator== ( T_Type lhs,
const EmuSimdMask< T_Type, T_width > & rhs )
constexpr

Definition at line 202 of file EmuSimdMask.hpp.

◆ operator>() [1/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator> ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 196 of file EmuSimdMask.hpp.

◆ operator>() [2/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator> ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 196 of file EmuSimdMask.hpp.

◆ operator>() [3/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator> ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 196 of file EmuSimdMask.hpp.

◆ operator>=() [1/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator>= ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 195 of file EmuSimdMask.hpp.

◆ operator>=() [2/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator>= ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 195 of file EmuSimdMask.hpp.

◆ operator>=() [3/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator>= ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 195 of file EmuSimdMask.hpp.

◆ operator>>() [1/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator>> ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 237 of file EmuSimd.hpp.

◆ operator>>() [2/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator>> ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 237 of file EmuSimd.hpp.

◆ operator>>() [3/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator>> ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 237 of file EmuSimd.hpp.

◆ operator^() [1/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator^ ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 240 of file EmuSimd.hpp.

◆ operator^() [2/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator^ ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 240 of file EmuSimd.hpp.

◆ operator^() [3/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator^ ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 240 of file EmuSimd.hpp.

◆ operator|() [1/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator| ( const EmuSimd< T_Type, T_width > & lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 239 of file EmuSimd.hpp.

◆ operator|() [2/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator| ( const EmuSimd< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 239 of file EmuSimd.hpp.

◆ operator|() [3/3]

template<std::integral T_Type, uint32_t T_width>
auto alpaka::internal::operator| ( T_Type lhs,
const EmuSimd< T_Type, T_width > & rhs )
constexpr

Definition at line 239 of file EmuSimd.hpp.

◆ operator||() [1/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator|| ( const EmuSimdMask< T_Type, T_width > & lhs,
const EmuSimdMask< T_Type, T_width > & rhs )
constexpr

Definition at line 205 of file EmuSimdMask.hpp.

◆ operator||() [2/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator|| ( const EmuSimdMask< T_Type, T_width > & lhs,
T_Type rhs )
constexpr

Definition at line 205 of file EmuSimdMask.hpp.

◆ operator||() [3/3]

template<typename T_Type, uint32_t T_width>
auto alpaka::internal::operator|| ( T_Type lhs,
const EmuSimdMask< T_Type, T_width > & rhs )
constexpr

Definition at line 205 of file EmuSimdMask.hpp.

◆ optimalAlignment()

template<typename T_ValueType, uint32_t T_numElements, alpaka::concepts::Alignment T_Alignment>
uint32_t alpaka::internal::optimalAlignment ( )
consteval

Calculates the best alignment based.

Takes care that the alignment never exceeds T_Alignment. In the worst case the alignment falls back to the alignment of the component type.

Definition at line 31 of file alignment.hpp.

◆ valueMaskCast()

template<typename T>
auto alpaka::internal::valueMaskCast ( bool condition)
constexpr

Convert a bool value into a mask type for SIMD.

specialization for 4 and 8 byte types

Returns
value type where all bits are 1 if condition is true, else all bit are zero

Definition at line 18 of file utility.hpp.

Variable Documentation

◆ cudaHipIntrinsic

auto alpaka::internal::cudaHipIntrinsic = CudaHipIntrinsic{}
constexpr

Definition at line 33 of file tag.hpp.

◆ stlIntrinsic

auto alpaka::internal::stlIntrinsic = StlIntrinsic{}
constexpr

Definition at line 25 of file tag.hpp.

◆ syclIntrinsic

auto alpaka::internal::syclIntrinsic = SyclIntrinsic{}
constexpr

Definition at line 33 of file tag.hpp.