#include <GlobalVector.hpp>
Classes | |
struct | Master |
struct | Proxy |
struct | Range |
Public Member Functions | |
void | incr_with_wrap (size_t *i, long incr) |
template<typename Cache > | |
void | cache_with_wraparound (size_t start, size_t nelem, T *buffer) |
GlobalVector () | |
GlobalVector (GlobalAddress< GlobalVector > self, GlobalAddress< T > storage_base, size_t total_capacity) | |
~GlobalVector () | |
void | destroy () |
void | push (const T &e) |
Push element on the back (queue or stack) More... | |
T | pop () |
void | enqueue (const T &e) |
T | dequeue () |
size_t | size () const |
Return number of elements currently in vector. More... | |
bool | empty () const |
GlobalAddress< T > | begin () const |
Return a Linear GlobalAddress to the first element of the vector. More... | |
GlobalAddress< T > | end () const |
Return a Linear GlobalAddress to the end of the vector, that is, one past the last element. More... | |
void | clear () |
GlobalAddress< T > | storage () const |
Range | getMasterRange () |
Static Public Member Functions | |
static GlobalAddress< GlobalVector > | create (size_t total_capacity) |
Public Attributes | |
GlobalAddress< T > | base |
size_t | capacity |
Protected Attributes | |
GlobalAddress< GlobalVector > | self |
Master | master |
FlatCombiner< Proxy > | proxy |
Friends | |
template<GlobalCompletionEvent * C = &impl::local_gce, int64_t Threshold = impl::USE_LOOP_THRESHOLD_FLAG, typename F = nullptr_t> | |
void | forall (GlobalAddress< GlobalVector > self, F func) |
Definition at line 101 of file GlobalVector.hpp.
|
inline |
Definition at line 360 of file GlobalVector.hpp.
|
inline |
Definition at line 362 of file GlobalVector.hpp.
|
inline |
Definition at line 369 of file GlobalVector.hpp.
|
inline |
Return a Linear GlobalAddress to the first element of the vector.
Definition at line 462 of file GlobalVector.hpp.
|
inline |
Definition at line 291 of file GlobalVector.hpp.
|
inline |
Definition at line 467 of file GlobalVector.hpp.
|
inlinestatic |
Definition at line 371 of file GlobalVector.hpp.
|
inline |
Definition at line 436 of file GlobalVector.hpp.
|
inline |
Definition at line 381 of file GlobalVector.hpp.
|
inline |
Definition at line 459 of file GlobalVector.hpp.
|
inline |
Return a Linear GlobalAddress to the end of the vector, that is, one past the last element.
Definition at line 465 of file GlobalVector.hpp.
|
inline |
Definition at line 434 of file GlobalVector.hpp.
|
inline |
Definition at line 475 of file GlobalVector.hpp.
|
inline |
Definition at line 278 of file GlobalVector.hpp.
|
inline |
Definition at line 411 of file GlobalVector.hpp.
|
inline |
Push element on the back (queue or stack)
Definition at line 389 of file GlobalVector.hpp.
|
inline |
Return number of elements currently in vector.
Definition at line 455 of file GlobalVector.hpp.
|
inline |
Definition at line 472 of file GlobalVector.hpp.
|
friend |
Definition at line 486 of file GlobalVector.hpp.
GlobalAddress<T> Grappa::GlobalVector< T, BUFFER_CAPACITY >::base |
Definition at line 351 of file GlobalVector.hpp.
size_t Grappa::GlobalVector< T, BUFFER_CAPACITY >::capacity |
Definition at line 352 of file GlobalVector.hpp.
|
protected |
Definition at line 356 of file GlobalVector.hpp.
|
protected |
Definition at line 357 of file GlobalVector.hpp.
|
protected |
Definition at line 354 of file GlobalVector.hpp.