Celeritas 0.6.0-dev.115+3b60a5fd
|
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 > |
![]() | |
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. | |
![]() | |
virtual | ~ImageInterface ()=default |
Default virtual destructor. | |
Additional Inherited Members | |
![]() | |
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.