![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
#include "alpaka/core/Common.hpp"#include "alpaka/core/Interface.hpp"#include <cstdint>#include <type_traits>Go to the source code of this file.
Classes | |
| struct | alpaka::ConceptIntrinsic |
Namespaces | |
| namespace | alpaka |
| The alpaka accelerator library. | |
| namespace | alpaka::trait |
| The accelerator traits. | |
Functions | |
| template<typename TIntrinsic > | |
| ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto | alpaka::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. Returns 0 for input value 0. | |
| template<typename TIntrinsic > | |
| ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto | alpaka::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. Returns 0 for input value 0. | |
| template<typename TIntrinsic > | |
| ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto | alpaka::popcount (TIntrinsic const &intrinsic, std::uint32_t value) -> std::int32_t |
| Returns the number of 1 bits in the given 32-bit value. | |
| template<typename TIntrinsic > | |
| ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto | alpaka::popcount (TIntrinsic const &intrinsic, std::uint64_t value) -> std::int32_t |
| Returns the number of 1 bits in the given 64-bit value. | |