Legion Runtime
Public Types | Public Member Functions | Static Public Attributes | List of all members
Legion::FieldAccessor< MODE, FT, N, COORD_T, A, CHECK_BOUNDS > Class Template Reference

#include <legion.h>

Public Types

typedef FT value_type
 
typedef FT & reference
 
typedef const FT & const_reference
 

Public Member Functions

 FieldAccessor (const PhysicalRegion &region, FieldID fid, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
 FieldAccessor (const PhysicalRegion &region, FieldID fid, const Rect< N, COORD_T > bounds, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
template<int M>
 FieldAccessor (const PhysicalRegion &region, FieldID fid, const AffineTransform< M, N, COORD_T > transform, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
template<int M>
 FieldAccessor (const PhysicalRegion &region, FieldID fid, const AffineTransform< M, N, COORD_T > transform, const Rect< N, COORD_T > bounds, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
 FieldAccessor (const Future &future, Memory::Kind kind=Memory::NO_MEMKIND, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
 FieldAccessor (const Future &future, const Rect< N, COORD_T > bounds, Memory::Kind kind=Memory::NO_MEMKIND, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
template<typename InputIterator >
 FieldAccessor (InputIterator start_region, InputIterator stop_region, FieldID fid, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
template<typename InputIterator >
 FieldAccessor (InputIterator start_region, InputIterator stop_region, FieldID fid, const Rect< N, COORD_T > bounds, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
template<typename InputIterator , int M>
 FieldAccessor (InputIterator start_region, InputIterator stop_region, FieldID fid, const AffineTransform< M, N, COORD_T > transform, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
template<typename InputIterator , int M>
 FieldAccessor (InputIterator start_region, InputIterator stop_region, FieldID fid, const AffineTransform< M, N, COORD_T > transform, const Rect< N, COORD_T > bounds, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
 FieldAccessor (const UntypedDeferredValue &value, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
 FieldAccessor (const UntypedDeferredValue &value, const Rect< N, COORD_T > &bounds, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
 FieldAccessor (const UntypedDeferredBuffer< COORD_T > &buffer, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
 FieldAccessor (const UntypedDeferredBuffer< COORD_T > &buffer, const Rect< N, COORD_T > &bounds, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
template<int M>
 FieldAccessor (const UntypedDeferredBuffer< COORD_T > &buffer, const AffineTransform< M, N, COORD_T > &transform, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 
template<int M>
 FieldAccessor (const UntypedDeferredBuffer< COORD_T > &buffer, const AffineTransform< M, N, COORD_T > &transform, const Rect< N, COORD_T > &bounds, size_t actual_field_size=sizeof(FT), bool check_field_size=false, bool silence_warnings=false, const char *warning_string=NULL, size_t subfield_offset=0)
 

Static Public Attributes

static const int dim = N
 

Detailed Description

template<PrivilegeMode MODE, typename FT, int N, typename COORD_T = coord_t, typename A = Realm::GenericAccessor<FT,N,COORD_T>, bool CHECK_BOUNDS = false>
class Legion::FieldAccessor< MODE, FT, N, COORD_T, A, CHECK_BOUNDS >

A field accessor is a class used to get access to the data inside of a PhysicalRegion object for a specific field. The default version of this class is empty, but the following specializations of this class with different privilege modes will provide different methods specific to that privilege type The ReduceAccessor class should be used for explicit reductions

READ_ONLY

READ_WRITE

WRITE_DISCARD


The documentation for this class was generated from the following file: