Legion Runtime
|
#include <legion.h>
Public Member Functions | |
UntypedBuffer (const void *arg, size_t argsize) | |
UntypedBuffer (const UntypedBuffer &rhs) | |
UntypedBuffer (UntypedBuffer &&rhs) noexcept | |
size_t | get_size (void) const |
void * | get_ptr (void) const |
bool | operator== (const UntypedBuffer &arg) const |
bool | operator< (const UntypedBuffer &arg) const |
UntypedBuffer & | operator= (const UntypedBuffer &rhs) |
UntypedBuffer & | operator= (UntypedBuffer &&rhs) noexcept |
Public Member Functions inherited from Legion::Unserializable< UntypedBuffer > | |
size_t | legion_buffer_size (void) |
size_t | legion_serialize (void *buffer) |
size_t | legion_deserialize (const void *buffer) |
A class for describing an untyped buffer value. Note that untyped buffers do not make copies of the data they point to. Copies are only made upon calls to the runtime to avoid double copying. It is up to the user to make sure that the the memory described by an untyped buffer is live throughout the duration of its lifetime.