Celeritas  0.5.0-56+6b053cd
Functions
CuHipRngData.cc File Reference
#include "CuHipRngData.hh"
#include <random>
#include "corecel/data/CollectionBuilder.hh"
#include "corecel/data/Ref.hh"
#include "corecel/sys/Device.hh"
#include "detail/CuHipRngStateInit.hh"

Functions

template<MemSpace M>
void celeritas::resize (CuHipRngStateData< Ownership::value, M > *state, HostCRef< CuHipRngParamsData > const &params, StreamId stream, size_type size)
 Resize and initialize with the seed stored in params.
 
template void celeritas::resize (HostVal< CuHipRngStateData > *, HostCRef< CuHipRngParamsData > const &, StreamId, size_type)
 
template void celeritas::resize (CuHipRngStateData< Ownership::value, MemSpace::device > *, HostCRef< CuHipRngParamsData > const &, StreamId, size_type)