Celeritas
0.5.0-56+6b053cd
|
Manage random number generation. More...
#include <CuHipRngParams.hh>
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) | |
Manage random number generation.
Currently this just constructs a local seed number but should be extended to handle RNG setup across multiple MPI processes.