Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::TransferIteratorIndexSpace< N, T > Class Template Reference

#include <transfer.h>

Inheritance diagram for Realm::TransferIteratorIndexSpace< N, T >:
[legend]
Collaboration diagram for Realm::TransferIteratorIndexSpace< N, T >:
[legend]

Public Member Functions

 TransferIteratorIndexSpace (const int _dim_order[N], const std::vector< FieldID > &_fields, const std::vector< size_t > &_fld_offsets, const std::vector< size_t > &_fld_sizes, RegionInstanceImpl *_inst_impl, const IndexSpace< N, T > &_is)
 TransferIteratorIndexSpace (const int _dim_order[N], const std::vector< FieldID > &_fields, const std::vector< size_t > &_fld_offsets, const std::vector< size_t > &_fld_sizes, RegionInstanceImpl *_inst_impl, const Rect< N, T > &_bounds, SparsityMapImpl< N, T > *_sparsity_impl)
virtual ~TransferIteratorIndexSpace (void)
virtual Event request_metadata (void)
virtual void reset (void)
template<typename S>
bool serialize (S &serializer) const
Public Member Functions inherited from Realm::TransferIteratorBase< N, T >
 TransferIteratorBase (RegionInstanceImpl *_inst_impl, const int _dim_order[N])
virtual bool done (void)
virtual size_t step (size_t max_bytes, AddressInfo &info, unsigned flags, bool tentative=false)
virtual size_t step_custom (size_t max_bytes, AddressInfoCustom &info, bool tentative=false)
virtual void confirm_step (void)
virtual void cancel_step (void)
virtual size_t get_base_offset (void) const
virtual bool get_addresses (AddressList &addrlist, const InstanceLayoutPieceBase *&nonaffine)
Public Member Functions inherited from Realm::TransferIterator
virtual ~TransferIterator (void)
virtual void set_indirect_input_port (XferDes *xd, int port_idx, TransferIterator *inner_iter)
virtual size_t get_address_size (void) const

Static Public Member Functions

template<typename S>
static TransferIterator * deserialize_new (S &deserializer)
Static Public Member Functions inherited from Realm::TransferIterator
template<typename S>
static TransferIterator * deserialize_new (S &deserializer)

Static Public Attributes

static Serialization::PolymorphicSerdezSubclass< TransferIterator, TransferIteratorIndexSpace< N, T > > serdez_subclass

Protected Member Functions

 TransferIteratorIndexSpace (void)
void reset_internal (void)
virtual bool get_next_rect (Rect< N, T > &r, FieldID &fid, size_t &offset, size_t &fsize)
Protected Member Functions inherited from Realm::TransferIteratorBase< N, T >
 TransferIteratorBase (void)

Protected Attributes

IndexSpace< N, T > is
SparsityMapImpl< N, T > * sparsity_impl {nullptr}
IndexSpaceIterator< N, T > iter
bool iter_init_deferred {false}
std::vector< FieldID > fields
std::vector< size_t > fld_offsets
std::vector< size_t > fld_sizes
size_t field_idx {0}
Protected Attributes inherited from Realm::TransferIteratorBase< N, T >
bool have_rect
bool is_done
Rect< N, T > cur_rect
FieldID cur_field_id
size_t cur_field_offset
size_t cur_field_size
Point< N, T > cur_point
Point< N, T > next_point
bool carry
RegionInstanceImpl * inst_impl
size_t inst_offset
bool tentative_valid
int dim_order [N]

Additional Inherited Members

Public Types inherited from Realm::TransferIterator
enum  {
  SRC_PARTIAL_OK = (1 << 0) , SRC_LINES_OK = (1 << 1) , SRC_PLANES_OK = (1 << 2) , SRC_FLAGMASK = 0xff ,
  DST_PARTIAL_OK = (1 << 8) , DST_LINES_OK = (1 << 9) , DST_PLANES_OK = (1 << 10) , DST_FLAGMASK = 0xff00 ,
  PARTIAL_OK = SRC_PARTIAL_OK | DST_PARTIAL_OK , LINES_OK = SRC_LINES_OK | DST_LINES_OK , PLANES_OK = SRC_PLANES_OK | DST_PLANES_OK
}

Constructor & Destructor Documentation

◆ TransferIteratorIndexSpace() [1/3]

template<int N, typename T>
Realm::TransferIteratorIndexSpace< N, T >::TransferIteratorIndexSpace ( void )
protected

◆ TransferIteratorIndexSpace() [2/3]

template<int N, typename T>
Realm::TransferIteratorIndexSpace< N, T >::TransferIteratorIndexSpace ( const int _dim_order[N],
const std::vector< FieldID > & _fields,
const std::vector< size_t > & _fld_offsets,
const std::vector< size_t > & _fld_sizes,
RegionInstanceImpl * _inst_impl,
const IndexSpace< N, T > & _is )

◆ TransferIteratorIndexSpace() [3/3]

template<int N, typename T>
Realm::TransferIteratorIndexSpace< N, T >::TransferIteratorIndexSpace ( const int _dim_order[N],
const std::vector< FieldID > & _fields,
const std::vector< size_t > & _fld_offsets,
const std::vector< size_t > & _fld_sizes,
RegionInstanceImpl * _inst_impl,
const Rect< N, T > & _bounds,
SparsityMapImpl< N, T > * _sparsity_impl )

◆ ~TransferIteratorIndexSpace()

template<int N, typename T>
virtual Realm::TransferIteratorIndexSpace< N, T >::~TransferIteratorIndexSpace ( void )
virtual

Member Function Documentation

◆ deserialize_new()

template<int N, typename T>
template<typename S>
TransferIterator * Realm::TransferIteratorIndexSpace< N, T >::deserialize_new ( S & deserializer)
static

◆ get_next_rect()

template<int N, typename T>
virtual bool Realm::TransferIteratorIndexSpace< N, T >::get_next_rect ( Rect< N, T > & r,
FieldID & fid,
size_t & offset,
size_t & fsize )
protectedvirtual

◆ request_metadata()

template<int N, typename T>
virtual Event Realm::TransferIteratorIndexSpace< N, T >::request_metadata ( void )
virtual

◆ reset()

template<int N, typename T>
virtual void Realm::TransferIteratorIndexSpace< N, T >::reset ( void )
virtual

◆ reset_internal()

template<int N, typename T>
void Realm::TransferIteratorIndexSpace< N, T >::reset_internal ( void )
protected

◆ serialize()

template<int N, typename T>
template<typename S>
bool Realm::TransferIteratorIndexSpace< N, T >::serialize ( S & serializer) const

Member Data Documentation

◆ field_idx

template<int N, typename T>
size_t Realm::TransferIteratorIndexSpace< N, T >::field_idx {0}
protected

◆ fields

template<int N, typename T>
std::vector<FieldID> Realm::TransferIteratorIndexSpace< N, T >::fields
protected

◆ fld_offsets

template<int N, typename T>
std::vector<size_t> Realm::TransferIteratorIndexSpace< N, T >::fld_offsets
protected

◆ fld_sizes

template<int N, typename T>
std::vector<size_t> Realm::TransferIteratorIndexSpace< N, T >::fld_sizes
protected

◆ is

template<int N, typename T>
IndexSpace<N, T> Realm::TransferIteratorIndexSpace< N, T >::is
protected

◆ iter

template<int N, typename T>
IndexSpaceIterator<N, T> Realm::TransferIteratorIndexSpace< N, T >::iter
protected

◆ iter_init_deferred

template<int N, typename T>
bool Realm::TransferIteratorIndexSpace< N, T >::iter_init_deferred {false}
protected

◆ serdez_subclass

◆ sparsity_impl

template<int N, typename T>
SparsityMapImpl<N, T>* Realm::TransferIteratorIndexSpace< N, T >::sparsity_impl {nullptr}
protected

The documentation for this class was generated from the following file:
  • /home/runner/work/realm/realm/realm-src/src/realm/transfer/transfer.h