Warning, file /include/celeritas/global/detail/TrackSlotUtils.hh was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007 #pragma once
0008
0009 #include "corecel/Assert.hh"
0010 #include "corecel/Macros.hh"
0011 #include "corecel/Types.hh"
0012 #include "corecel/data/Collection.hh"
0013 #include "corecel/sys/ThreadId.hh"
0014
0015 namespace celeritas
0016 {
0017 namespace detail
0018 {
0019
0020
0021 void shuffle_track_slots(
0022 Collection<TrackSlotId::size_type, Ownership::value, MemSpace::host, ThreadId>*,
0023 StreamId);
0024 void shuffle_track_slots(
0025 Collection<TrackSlotId::size_type, Ownership::value, MemSpace::device, ThreadId>*,
0026 StreamId);
0027
0028
0029
0030
0031 #if !CELER_USE_DEVICE
0032 inline void shuffle_track_slots(
0033 Collection<TrackSlotId::size_type, Ownership::value, MemSpace::device, ThreadId>*,
0034 StreamId)
0035 {
0036 CELER_NOT_CONFIGURED("CUDA or HIP");
0037 }
0038 #endif
0039
0040 }
0041 }