|
Celeritas 0.7.0-dev.194+develop.0df4cab59
|
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.
|
finalvirtual |
Copy the image back to the host.
Implements celeritas::ImageInterface.
|
inlinefinalvirtual |
Access image properties.
Implements celeritas::ImageInterface.