![]() |
Realm
A distributed, event-based tasking library
|
#include <inst_layout.h>
Public Member Functions | |
| InstanceLayout (void) | |
| virtual | ~InstanceLayout (void) |
| virtual InstanceLayoutGeneric * | clone (void) const |
| virtual void | relocate (size_t base_offset) |
| virtual void | print (std::ostream &os) const |
| virtual REALM_INTERNAL_API_EXTERNAL_LINKAGE void | compile_lookup_program (PieceLookup::CompiledProgram &p) const |
| size_t | calculate_offset (Point< N, T > p, FieldID fid) const |
| template<typename S > | |
| bool | serialize (S &serializer) const |
Public Member Functions inherited from Realm::InstanceLayoutGeneric | |
| virtual | ~InstanceLayoutGeneric (void) |
Static Public Member Functions | |
| template<typename S > | |
| static InstanceLayoutGeneric * | deserialize_new (S &deserializer) |
Static Public Member Functions inherited from Realm::InstanceLayoutGeneric | |
| template<typename S > | |
| static InstanceLayoutGeneric * | deserialize_new (S &deserializer) |
| template<int N, typename T > | |
| static InstanceLayoutGeneric * | choose_instance_layout (IndexSpace< N, T > is, const InstanceLayoutConstraints &ilc, const int dim_order[N]) |
| template<int N, typename T > | |
| static InstanceLayoutGeneric * | choose_instance_layout (IndexSpace< N, T > is, const std::vector< Rect< N, T > > &covering, const InstanceLayoutConstraints &ilc, const int dim_order[N]) |
Public Attributes | |
| IndexSpace< N, T > | space |
| std::vector< InstancePieceList< N, T > > | piece_lists |
Public Attributes inherited from Realm::InstanceLayoutGeneric | |
| size_t | bytes_used |
| size_t | alignment_reqd |
| FieldMap | fields |
Static Public Attributes | |
| static Serialization::PolymorphicSerdezSubclass< InstanceLayoutGeneric, InstanceLayout< N, T > > | serdez_subclass |
Additional Inherited Members | |
Public Types inherited from Realm::InstanceLayoutGeneric | |
| using | FieldMap = std::map< FieldID, FieldLayout > |
Protected Member Functions inherited from Realm::InstanceLayoutGeneric | |
| InstanceLayoutGeneric (void) | |
A layout for an instance of a logical region.
| Realm::InstanceLayout< N, T >::InstanceLayout | ( | void | ) |
|
virtual |
| size_t Realm::InstanceLayout< N, T >::calculate_offset | ( | Point< N, T > | p, |
| FieldID | fid | ||
| ) | const |
Compute the offset of the specified field for an element - this is generally much less efficient than using a layout-specific accessor.
| p | Point to calculate offset for. |
| fid | FieldID of field to calculate offset for. |
|
virtual |
Implements Realm::InstanceLayoutGeneric.
|
virtual |
Implements Realm::InstanceLayoutGeneric.
|
static |
|
virtual |
Implements Realm::InstanceLayoutGeneric.
|
virtual |
Adjust offsets of pieces to start from 'base_offset'.
| base_offset | Offset to start from. |
Implements Realm::InstanceLayoutGeneric.
| bool Realm::InstanceLayout< N, T >::serialize | ( | S & | serializer | ) | const |
| std::vector<InstancePieceList<N, T> > Realm::InstanceLayout< N, T >::piece_lists |
|
static |
| IndexSpace<N, T> Realm::InstanceLayout< N, T >::space |