|
Celeritas 0.7.0-dev.195+develop.9f96e13e6
|
#include "CoreTrackData.hh"#include "corecel/data/CollectionAlgorithms.hh"#include "corecel/io/Logger.hh"#include "detail/TrackSlotUtils.hh"Functions | |
| template<MemSpace M> | |
| void | celeritas::resize (CoreStateData< Ownership::value, M > *state, HostCRef< CoreParamsData > const ¶ms, StreamId stream_id, size_type size) |
| Resize states in host code. | |
| template void | celeritas::resize< MemSpace::host > (CoreStateData< Ownership::value, MemSpace::host > *, HostCRef< CoreParamsData > const &, StreamId, size_type) |
| template void | celeritas::resize< MemSpace::device > (CoreStateData< Ownership::value, MemSpace::device > *, HostCRef< CoreParamsData > const &, StreamId, size_type) |
| void celeritas::resize | ( | CoreStateData< Ownership::value, M > * | state, |
| HostCRef< CoreParamsData > const & | params, | ||
| StreamId | stream_id, | ||
| size_type | size | ||
| ) |
Resize states in host code.
Initialize threads to track slots mapping. Resize core states using parameter data, stream ID, and track slots.