|
Celeritas 0.7-develop+980877a
|
Persistent per-stream storage for compacted detector hits on device. More...
#include <DetectorAction.hh>

Public Attributes | |
| AsyncCompactedCopy< DetectorHit > | hits |
| Compaction and copy of device hits. | |
Additional Inherited Members | |
Public Types inherited from celeritas::AuxStateInterface | |
| using | SPState = std::shared_ptr< AuxStateInterface > |
| Default destructor. | |
Public Member Functions inherited from celeritas::AuxStateInterface | |
| virtual | ~AuxStateInterface () |
| Default destructor. | |
Protected Member Functions inherited from celeritas::AuxStateInterface | |
| AuxStateInterface ()=default | |
| AuxStateInterface (AuxStateInterface const &)=default | |
| Default destructor. | |
| AuxStateInterface & | operator= (AuxStateInterface const &)=default |
| Default destructor. | |
| AuxStateInterface (AuxStateInterface &&)=default | |
| Default destructor. | |
| AuxStateInterface & | operator= (AuxStateInterface &&)=default |
| Default destructor. | |
Persistent per-stream storage for compacted detector hits on device.
The device scratch and pinned host buffers are allocated and sized once in DetectorAction::create_state so that no reallocation occurs during stepping.
This is only done when running on device; in host memory, we operate directly on the hit vector.