|
Celeritas 0.7.0-dev.164+develop.929c81eeb
|
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 |
| 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.
|
inlinefinalvirtual |
Access data on device.
Implements celeritas::ParamsDataInterface< CuHipRngParamsData >.
|
inlinefinalvirtual |
Access RNG properties for constructing RNG state.
Implements celeritas::ParamsDataInterface< CuHipRngParamsData >.