Skip to content

Commit f0430fe

Browse files
committed
REVERTME: Add log output for debugging
1 parent e981955 commit f0430fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/celeritas/global/CoreState.hh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "corecel/data/CollectionStateStore.hh"
1717
#include "corecel/data/DeviceVector.hh"
1818
#include "corecel/data/Ref.hh"
19+
#include "corecel/io/Logger.hh"
1920
#include "corecel/sys/ThreadId.hh"
2021
#include "celeritas/track/CoreStateCounters.hh"
2122

@@ -202,6 +203,8 @@ auto CoreState<M>::aux_data(AuxId auxid) -> StateRef<S>&
202203
CELER_EXPECT(auxid < aux_state_->size());
203204

204205
// TODO: use "checked static cast" for better runtime performance
206+
CELER_LOG(info) << "Accessing aux state with type "
207+
<< TypeDemangler<S<Ownership::reference, M>>{}();
205208
auto* state = dynamic_cast<AuxState<S, M>*>(&aux_state_->at(auxid));
206209
CELER_ASSERT(state);
207210

0 commit comments

Comments
 (0)