alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::concepts::SimdPtr Concept Reference

Concept to check if a type is a SIMD pointer. More...

#include <SimdPtr.hpp>

Concept definition

template<typename T, typename T_ValueType = alpaka::NotRequired, uint32_t T_width = alpaka::notRequiredWidth>
&& (std::same_as<T_ValueType, trait::GetValueType_t<std::decay_t<T>>>
|| std::same_as<T_ValueType, alpaka::NotRequired>)
&& ((T_width == alpaka::notRequiredWidth) || (T::width() == T_width))
Concept to check if a type is a SIMD pointer.
Definition SimdPtr.hpp:41
constexpr bool isSimdPtr_v
Definition SimdPtr.hpp:30
constexpr uint32_t notRequiredWidth
Definition trait.hpp:24

Detailed Description

Concept to check if a type is a SIMD pointer.

Template Parameters
TType to check
T_ValueTypeenforce a value type of the SIMD pointer, if not provided the value type is not checked
T_widthenforce lane width of the SIMD pointer, if not provided the value is not checked

Definition at line 41 of file SimdPtr.hpp.