|
Celeritas 0.7.0-dev.313+develop.1857205b
|
Abstract base class for CoreState. More...
#include <CoreState.hh>

Public Types | |
Type aliases | |
| using | size_type = TrackSlotId::size_type |
Public Member Functions | |
| virtual | ~CoreStateInterface () |
| Support polymorphic deletion. | |
| virtual StreamId | stream_id () const =0 |
| Thread/stream ID. | |
| virtual size_type | size () const =0 |
| Number of track slots. | |
| virtual CoreStateCounters | sync_get_counters () const =0 |
| Synchronize and copy track initialization counters from device to host For host-only code, this replaces the old counters() function. | |
| virtual void | sync_put_counters (CoreStateCounters const &)=0 |
| Synchronize and copy track initialization counters from host to device For host-only code, this replaces the old counters() function since we return a CoreStateCounters object instead of a reference. | |
| virtual AuxStateVec const & | aux () const =0 |
| Access auxiliary state data. | |
| virtual AuxStateVec & | aux ()=0 |
| Access mutable auxiliary state data. | |
Protected Member Functions | |
| CoreStateInterface (CoreStateInterface const &)=default | |
| CoreStateInterface & | operator= (CoreStateInterface const &)=default |
| CoreStateInterface (CoreStateInterface &&)=default | |
| CoreStateInterface & | operator= (CoreStateInterface &&)=default |
Abstract base class for CoreState.
|
pure virtual |
Access auxiliary state data.
Implemented in celeritas::CoreState< M >.
|
pure virtual |
Access mutable auxiliary state data.
Implemented in celeritas::CoreState< M >.
|
pure virtual |
Number of track slots.
Implemented in celeritas::CoreState< M >.
Thread/stream ID.
Implemented in celeritas::CoreState< M >.
|
pure virtual |
Synchronize and copy track initialization counters from device to host For host-only code, this replaces the old counters() function.
Implemented in celeritas::CoreState< M >.
|
pure virtual |
Synchronize and copy track initialization counters from host to device For host-only code, this replaces the old counters() function since we return a CoreStateCounters object instead of a reference.
Implemented in celeritas::CoreState< M >.