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

Concept to check if a type is a FrameSpec. More...

#include <FrameSpec.hpp>

Concept definition

template<typename T, typename T_IndexType = alpaka::NotRequired, uint32_t T_dim = alpaka::notRequiredDim>
&& (std::same_as<T_IndexType, alpaka::NotRequired> || std::same_as<typename T::index_type, T_IndexType>)
&& ((T_dim == alpaka::notRequiredDim) || (T::dim() == T_dim))
Concept to check if a type is a FrameSpec.
constexpr bool isFrameSpec_v
constexpr uint32_t notRequiredDim
Definition trait.hpp:23

Detailed Description

Concept to check if a type is a FrameSpec.

Template Parameters
TType to check
T_IndexTypeenforce a index type of the frame specification, if not provided the type is not checked
T_dimenforce a dimensionality of the frame specification, if not provided the value is not checked

Definition at line 130 of file FrameSpec.hpp.