Celeritas
0.5.0-56+6b053cd
|
#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. More... | |
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.