Celeritas
0.5.0-86+4a8eea4
|
Implement an image on host or device. More...
#include <Image.hh>
Public Types | |
Type aliases | |
using | Value = ImageStateData< Ownership::value, M > |
using | Ref = ImageStateData< Ownership::reference, M > |
Public Types inherited from celeritas::ImageInterface | |
using | int_type = int |
using | SpanInt = Span< int_type > |
using | SPConstParams = std::shared_ptr< ImageParams const > |
Public Member Functions | |
Image (SPConstParams params) | |
Construct from parameters. | |
SPConstParams const & | params () const final |
Access image properties. | |
void | copy_to_host (SpanInt) const final |
Copy the image back to the host. | |
Ref const & | ref () |
Access the mutable state data. | |
Public Member Functions inherited from celeritas::ImageInterface | |
virtual | ~ImageInterface ()=default |
Default virtual destructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from celeritas::ImageInterface | |
CELER_DEFAULT_COPY_MOVE (ImageInterface) | |
Implement an image on host or device.