|
DASH
0.3.0
|
Iterator on global buckets. More...
#include <GlobHeapPtr.h>
Classes | |
| struct | local_index |
Public Types | |
| typedef GlobHeapMemType::index_type | index_type |
| typedef std::make_unsigned< index_type >::type | size_type |
| typedef ElementType | value_type |
| typedef GlobSharedRef< value_type, self_t > | reference |
| typedef GlobSharedRef< const value_type, self_t > | const_reference |
| typedef value_type * | raw_pointer |
| typedef GlobHeapMemType | globmem_type |
| typedef GlobHeapMemType::local_pointer | local_pointer |
| template<typename U > | |
| using | rebind = GlobHeapPtr< U, MemSpaceT > |
Public Member Functions | |
| GlobHeapPtr () | |
| Default constructor. More... | |
| GlobHeapPtr (const MemSpaceT *gmem, index_type position=0) | |
| Constructor, creates a global pointer on global memory from global offset in logical storage order. More... | |
| GlobHeapPtr (const MemSpaceT *gmem, team_unit_t unit, index_type local_index) | |
| Constructor, creates a global pointer on global memory from unit and local offset in logical storage order. More... | |
| template<typename E_ , typename M_ > | |
| GlobHeapPtr (const GlobHeapPtr< E_, M_ > &other) | |
| Copy constructor. More... | |
| template<typename E_ , typename M_ > | |
| self_t & | operator= (const GlobHeapPtr< E_, M_ > &other) |
| Assignment operator. More... | |
| dart_gptr_t | dart_gptr () const |
Explicit conversion to dart_gptr_t. More... | |
| reference | operator* () const |
| Dereference operator. More... | |
| reference | operator[] (index_type g_index) const |
| Subscript operator, returns global reference to element at given global index. More... | |
| bool | is_local () const |
| Checks whether the element referenced by this global pointer is in the calling unit's local memory. More... | |
| local_pointer | local () const |
| Conversion to local bucket pointer. More... | |
| local_index | lpos () const |
| Unit and local offset at the pointer's position. More... | |
| self_t | global () const |
| Map pointer to global index domain. More... | |
| index_type | pos () const |
| Position of the pointer in global index space. More... | |
| index_type | gpos () const |
| Position of the pointer in global index range. More... | |
| const globmem_type & | globmem () const |
The instance of GlobStaticMem used by this pointer to resolve addresses in global memory. More... | |
| globmem_type & | globmem () |
The instance of GlobStaticMem used by this pointer to resolve addresses in global memory. More... | |
| self_t & | operator++ () |
| Prefix increment operator. More... | |
| self_t & | operator-- () |
| Prefix decrement operator. More... | |
| self_t | operator++ (int) |
| Postfix increment operator. More... | |
| self_t | operator-- (int) |
| Postfix decrement operator. More... | |
| self_t & | operator+= (index_type offset) |
| self_t & | operator-= (index_type offset) |
| self_t | operator+ (index_type offset) const |
| self_t | operator- (index_type offset) const |
| index_type | operator+ (const self_t &other) const |
| index_type | operator- (const self_t &other) const |
| template<typename E_ , typename M_ > | |
| bool | operator< (const GlobHeapPtr< E_, M_ > &other) const |
| template<typename E_ , typename M_ > | |
| bool | operator<= (const GlobHeapPtr< E_, M_ > &other) const |
| template<typename E_ , typename M_ > | |
| bool | operator> (const GlobHeapPtr< E_, M_ > &other) const |
| template<typename E_ , typename M_ > | |
| bool | operator>= (const GlobHeapPtr< E_, M_ > &other) const |
| template<typename E_ , typename M_ > | |
| bool | operator== (const GlobHeapPtr< E_, M_ > &other) const |
| template<typename E_ , typename M_ > | |
| bool | operator!= (const GlobHeapPtr< E_, M_ > &other) const |
Friends | |
| template<typename ElementType_ , class MemSpaceT_ > | |
| std::ostream & | operator<< (std::ostream &os, const dash::GlobHeapPtr< ElementType_, MemSpaceT_ > &gptr) |
Iterator on global buckets.
Represents global pointer type.
Definition at line 32 of file GlobHeapMem.h.
|
inline |
Default constructor.
Definition at line 90 of file GlobHeapPtr.h.
|
inline |
Constructor, creates a global pointer on global memory from global offset in logical storage order.
Definition at line 109 of file GlobHeapPtr.h.
|
inline |
Constructor, creates a global pointer on global memory from unit and local offset in logical storage order.
Definition at line 161 of file GlobHeapPtr.h.
|
inline |
|
inline |
Explicit conversion to dart_gptr_t.
Definition at line 236 of file GlobHeapPtr.h.
Referenced by dash::UnorderedMapLocalIter< Key, Mapped, Hash, Pred, LMemSpace >::dart_gptr(), and dash::GlobHeapPtr< ElementType, MemSpaceT >::operator*().
|
inline |
Map pointer to global index domain.
Definition at line 319 of file GlobHeapPtr.h.
|
inline |
The instance of GlobStaticMem used by this pointer to resolve addresses in global memory.
Definition at line 344 of file GlobHeapPtr.h.
|
inline |
The instance of GlobStaticMem used by this pointer to resolve addresses in global memory.
Definition at line 353 of file GlobHeapPtr.h.
|
inline |
Position of the pointer in global index range.
Definition at line 335 of file GlobHeapPtr.h.
|
inline |
Checks whether the element referenced by this global pointer is in the calling unit's local memory.
Definition at line 288 of file GlobHeapPtr.h.
|
inline |
Conversion to local bucket pointer.
Definition at line 296 of file GlobHeapPtr.h.
Referenced by dash::GlobHeapPtr< ElementType, MemSpaceT >::operator*().
|
inline |
Unit and local offset at the pointer's position.
Definition at line 308 of file GlobHeapPtr.h.
|
inline |
Dereference operator.
Definition at line 253 of file GlobHeapPtr.h.
References dash::GlobHeapPtr< ElementType, MemSpaceT >::dart_gptr(), and dash::GlobHeapPtr< ElementType, MemSpaceT >::local().
|
inline |
Prefix increment operator.
Definition at line 361 of file GlobHeapPtr.h.
|
inline |
Postfix increment operator.
Definition at line 379 of file GlobHeapPtr.h.
|
inline |
Prefix decrement operator.
Definition at line 370 of file GlobHeapPtr.h.
|
inline |
Postfix decrement operator.
Definition at line 389 of file GlobHeapPtr.h.
|
inline |
|
inline |
Subscript operator, returns global reference to element at given global index.
| g_index | The global position of the element |
Definition at line 267 of file GlobHeapPtr.h.
|
inline |
Position of the pointer in global index space.
Definition at line 327 of file GlobHeapPtr.h.