We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e981955 commit f0430feCopy full SHA for f0430fe
src/celeritas/global/CoreState.hh
@@ -16,6 +16,7 @@
16
#include "corecel/data/CollectionStateStore.hh"
17
#include "corecel/data/DeviceVector.hh"
18
#include "corecel/data/Ref.hh"
19
+#include "corecel/io/Logger.hh"
20
#include "corecel/sys/ThreadId.hh"
21
#include "celeritas/track/CoreStateCounters.hh"
22
@@ -202,6 +203,8 @@ auto CoreState<M>::aux_data(AuxId auxid) -> StateRef<S>&
202
203
CELER_EXPECT(auxid < aux_state_->size());
204
205
// TODO: use "checked static cast" for better runtime performance
206
+ CELER_LOG(info) << "Accessing aux state with type "
207
+ << TypeDemangler<S<Ownership::reference, M>>{}();
208
auto* state = dynamic_cast<AuxState<S, M>*>(&aux_state_->at(auxid));
209
CELER_ASSERT(state);
210
0 commit comments