34 template<
typename TAcc>
41 template<
typename T,
typename TSfinae =
void>
49 template<
typename TAcc,
typename TSfinae =
void>
59 template<
typename TAcc,
typename TSfinae =
void>
65 template<concepts::Acc TAcc>
71 template<concepts::Acc TAcc>
86 template<
typename TAcc>
90 template<
typename TAcc>
94 template<concepts::Acc TAcc,
typename TDev>
104 template<concepts::Acc TAcc>
112 template<concepts::Acc TAcc,
typename TProperty>
auto clipCast(V const &val) -> T
typename detail::ImplementationBaseType< TInterface, TDerived >::type ImplementationBase
Returns the type that implements the given interface in the inheritance hierarchy.
The alpaka accelerator library.
typename trait::IdxType< T >::type Idx
ALPAKA_FN_HOST auto getAccDevProps(TDev const &dev) -> AccDevProps< Dim< TAcc >, Idx< TAcc > >
constexpr bool isAccelerator
True if TAcc is an accelerator, i.e. if it implements the InterfaceAcc concept.
constexpr bool isSingleThreadAcc
True if TAcc is an accelerator that supports only a single thread per block, false otherwise.
constexpr bool isMultiThreadAcc
True if TAcc is an accelerator that supports multiple threads per block, false otherwise.
ALPAKA_FN_HOST auto getAccName() -> std::string
typename trait::AccType< T >::type Acc
The accelerator type trait alias template to remove the ::type.
The acceleration properties on a device.
Checks whether the interface is implemented by the given class.
The accelerator type trait.
The device properties get trait.
The accelerator name trait.
static ALPAKA_FN_HOST auto getAccName() -> std::string
The multi thread accelerator trait.
The single thread accelerator trait.
typename QueueType< typename alpaka::trait::PlatformType< TAcc >::type, TProperty >::type type
Queue for an accelerator.