Interface for copying elements between two regions with indexing. More...
#include <arcane/impl/internal/IBufferCopier.h>
Public Member Functions | |
| virtual void | copyFromBufferAsync (ConstArrayView< Int32 > indexes, ConstMemoryView buffer, MutableMemoryView var_value)=0 |
| virtual void | copyToBufferAsync (ConstArrayView< Int32 > indexes, MutableMemoryView buffer, ConstMemoryView var_value)=0 |
| virtual void | barrier ()=0 |
| Blocks until the copies are finished. | |
| virtual void | setRunQueue (const RunQueue &queue)=0 |
Interface for copying elements between two regions with indexing.
The copy methods can be asynchronous. You must call barrier() to ensure that these copies are finished before using the buffer values.
Definition at line 41 of file IBufferCopier.h.
|
pure virtual |
Blocks until the copies are finished.
Implemented in Arcane::DirectBufferCopier, and Arcane::TableBufferCopier.