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

Go to the source code of this file.

Namespaces

 alpaka
 The alpaka accelerator library.
 
 alpaka::rand
 

Functions

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