11 #include <type_traits>
23 template<
typename TWarp,
typename TSfinae =
void>
27 template<
typename TWarp,
typename TSfinae =
void>
37 template<
typename TIntrinsic>
50 template<
typename TIntrinsic>
64 template<
typename TIntrinsic>
65 ALPAKA_FN_ACC auto ffs(TIntrinsic
const& intrinsic, std::int32_t value) -> std::int32_t
78 template<
typename TIntrinsic>
79 ALPAKA_FN_ACC auto ffs(TIntrinsic
const& intrinsic, std::int64_t value) -> std::int32_t
#define ALPAKA_FN_ACC
All functions that can be used on an accelerator have to be attributed with ALPAKA_FN_ACC or ALPAKA_F...
#define ALPAKA_NO_HOST_ACC_WARNING
Disable nvcc warning: 'calling a host function from host device function.' Usage: ALPAKA_NO_HOST_ACC_...
typename detail::ImplementationBaseType< TInterface, TDerived >::type ImplementationBase
Returns the type that implements the given interface in the inheritance hierarchy.
The alpaka accelerator library.
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto popcount(TIntrinsic const &intrinsic, std::uint64_t value) -> std::int32_t
Returns the number of 1 bits in the given 64-bit value.
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto ffs(TIntrinsic const &intrinsic, std::int64_t value) -> std::int32_t
Returns the 1-based position of the least significant bit set to 1 in the given 64-bit value....
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto ffs(TIntrinsic const &intrinsic, std::int32_t value) -> std::int32_t
Returns the 1-based position of the least significant bit set to 1 in the given 32-bit value....
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto popcount(TIntrinsic const &intrinsic, std::uint32_t value) -> std::int32_t
Returns the number of 1 bits in the given 32-bit value.