Celeritas  0.5.0-86+4a8eea4
Public Member Functions | List of all members
celeritas::CuHipRngParams Class Referencefinal

Manage random number generation. More...

#include <CuHipRngParams.hh>

Inheritance diagram for celeritas::CuHipRngParams:
Inheritance graph
[legend]

Public Member Functions

 CuHipRngParams (unsigned int seed)
 Construct with a seed.
 
HostRef const & host_ref () const final
 Access RNG properties for constructing RNG state.
 
DeviceRef const & device_ref () const final
 Access data on device.
 
- Public Member Functions inherited from celeritas::ParamsDataInterface< CuHipRngParamsData >
CuHipRngParamsData< Ownership::const_reference, M > const & ref () const
 Dispatch a "ref" call to host or device data.
 

Additional Inherited Members

- Public Types inherited from celeritas::ParamsDataInterface< CuHipRngParamsData >
using HostRef = HostCRef< CuHipRngParamsData >
 
using DeviceRef = DeviceCRef< CuHipRngParamsData >
 
- Protected Member Functions inherited from celeritas::ParamsDataInterface< CuHipRngParamsData >
 CELER_DEFAULT_COPY_MOVE (ParamsDataInterface)
 

Detailed Description

Manage random number generation.

Currently this just constructs a local seed number but should be extended to handle RNG setup across multiple MPI processes.


The documentation for this class was generated from the following files: