60 size_t field_size, Memory target_memory,
61 const void* initial_value =
nullptr,
size_t alignment = 16,
62 bool escaping =
true);
64 size_t field_size, Memory::Kind memory_kind = Memory::Z_COPY_MEM,
65 const void* initial_value =
nullptr,
size_t alignment = 16,
66 bool escaping =
true);
70 inline operator DeferredValue<T>(
void)
const;
71 template<
typename REDOP,
bool EXCLUSIVE>
72 inline operator DeferredReduction<REDOP, EXCLUSIVE>(
void)
const;
73 inline size_t field_size(
void)
const;
75 inline bool exists(
void)
const {
return instance.exists(); }
76 void finalize(Context ctx)
const;
77 Realm::RegionInstance get_instance(
void)
const;
78 static void report_incompatible_accessor(
79 const char* accessor_kind,
bool buffer =
false);
81 Realm::RegionInstance instance;
85 template<PrivilegeMode,
typename,
int,
typename,
typename,
bool>
87 template<
typename,
bool,
int,
typename,
typename,
bool>
108 T initial_value,
size_t alignment = std::alignment_of<T>(),
109 Memory::Kind memory_kind = Memory::Z_COPY_MEM,
bool escaping =
true);
111 T initial_value, Memory target_memory,
112 size_t alignment = std::alignment_of<T>(),
bool escaping =
true);
115 inline T read(
void)
const;
117 inline void write(T value)
const;
119 inline T* ptr(
void)
const;
121 inline T& ref(
void)
const;
123 inline operator T(
void)
const;
125 inline DeferredValue<T>& operator=(T value);
127 typedef T value_type;
128 typedef T& reference;
129 typedef const T& const_reference;
133 Realm::AffineAccessor<T, 1, coord_t> accessor;
Definition geometry.h:154