16 return static_cast<std::uint32_t
>(x >> 32);
22 return static_cast<std::uint32_t
>(x & 0xffff'ffff);
34 std::uint64_t
const a,
35 std::uint64_t
const b,
36 std::uint32_t& resultHigh,
37 std::uint32_t& resultLow)
39 std::uint64_t res64 = a * b;
#define ALPAKA_FN_HOST_ACC
constexpr ALPAKA_FN_HOST_ACC void multiplyAndSplit64to32(std::uint64_t const a, std::uint64_t const b, std::uint32_t &resultHigh, std::uint32_t &resultLow)
constexpr ALPAKA_FN_HOST_ACC auto high32Bits(std::uint64_t const x) -> std::uint32_t
Get high 32 bits of a 64-bit number.
constexpr ALPAKA_FN_HOST_ACC auto low32Bits(std::uint64_t const x) -> std::uint32_t
Get low 32 bits of a 64-bit number.