14 template<
typename TValue>
23 return static_cast<std::int32_t
>(count);
27 template<
typename TValue>
32 std::int32_t result = 1;
33 while((value & 1) == 0)
static auto popcountFallback(TValue value) -> std::int32_t
Fallback implementation of popcount.
static auto ffsFallback(TValue value) -> std::int32_t
Fallback implementation of ffs.
The alpaka accelerator library.
Tag used in class inheritance hierarchies that describes that a specific interface (TInterface) is im...
static auto ffs(IntrinsicFallback const &, std::int32_t value) -> std::int32_t
static auto ffs(IntrinsicFallback const &, std::int64_t value) -> std::int32_t
static auto popcount(IntrinsicFallback const &, std::uint32_t value) -> std::int32_t
static auto popcount(IntrinsicFallback const &, std::uint64_t value) -> std::int32_t