alpaka
Abstraction Library for Parallel Kernel Acceleration
|
The standard library's random device based on the local entropy pool. More...
#include <RandStdLib.hpp>
Public Types | |
using | result_type = std::random_device::result_type |
Public Member Functions | |
RandomDevice ()=default | |
ALPAKA_FN_HOST | RandomDevice (std::uint32_t const &, std::uint32_t const &=0, std::uint32_t const &=0) |
ALPAKA_FN_HOST auto | operator() () -> result_type |
Static Public Member Functions | |
static constexpr ALPAKA_FN_HOST auto | max () -> result_type |
static constexpr ALPAKA_FN_HOST auto | min () -> result_type |
The standard library's random device based on the local entropy pool.
Warning: the entropy pool on many devices degrates quickly and performance will drop significantly when this point occures.
size of state: 1 byte
Definition at line 126 of file RandStdLib.hpp.
using alpaka::rand::engine::cpu::RandomDevice::result_type = std::random_device::result_type |
Definition at line 138 of file RandStdLib.hpp.
|
default |
|
inline |
Definition at line 133 of file RandStdLib.hpp.
|
inlinestaticconstexpr |
Definition at line 145 of file RandStdLib.hpp.
|
inlinestaticconstexpr |
Definition at line 140 of file RandStdLib.hpp.
|
inline |
Definition at line 150 of file RandStdLib.hpp.