alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
MultiplyAndSplit64to32.hpp File Reference
#include "alpaka/core/Common.hpp"
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  alpaka
 The alpaka accelerator library.
 
namespace  alpaka::rand
 

Functions

ALPAKA_FN_HOST_ACC constexpr auto alpaka::rand::high32Bits (std::uint64_t const x) -> std::uint32_t
 Get high 32 bits of a 64-bit number.
 
ALPAKA_FN_HOST_ACC constexpr auto alpaka::rand::low32Bits (std::uint64_t const x) -> std::uint32_t
 Get low 32 bits of a 64-bit number.
 
ALPAKA_FN_HOST_ACC constexpr void alpaka::rand::multiplyAndSplit64to32 (std::uint64_t const a, std::uint64_t const b, std::uint32_t &resultHigh, std::uint32_t &resultLow)