Celeritas  0.5.0-86+4a8eea4
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
celeritas::XorwowRngParamsData< W, M > Struct Template Reference

Persistent data for XORWOW generator. More...

#include <XorwowRngData.hh>

Public Types

using JumpPoly = Array< XorwowUInt, 5 >
 
using ArrayJumpPoly = Array< JumpPoly, 32 >
 

Public Member Functions

CELER_FUNCTION operator bool () const
 Whether the data is assigned.
 
template<Ownership W2, MemSpace M2>
XorwowRngParamsDataoperator= (XorwowRngParamsData< W2, M2 > const &other)
 Assign from another set of data.
 

Static Public Member Functions

static CELER_CONSTEXPR_FUNCTION size_type num_words ()
 
static CELER_CONSTEXPR_FUNCTION size_type num_bits ()
 

Public Attributes

XorwowSeed seed
 
ArrayJumpPoly jump
 
ArrayJumpPoly jump_subsequence
 

Detailed Description

template<Ownership W, MemSpace M>
struct celeritas::XorwowRngParamsData< W, M >

Persistent data for XORWOW generator.

Member Data Documentation

◆ seed

template<Ownership W, MemSpace M>
XorwowSeed celeritas::XorwowRngParamsData< W, M >::seed
Todo:
Use full 256-bit seed to generate initial states for the RNGs For now, just 4 bytes (same as our existing cuda/hip interface)

The documentation for this struct was generated from the following file: