#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 90 of file GlobalVector.hpp.
|
inline |
Definition at line 349 of file GlobalVector.hpp.
|
inline |
Definition at line 351 of file GlobalVector.hpp.
|
inline |
Definition at line 358 of file GlobalVector.hpp.
|
inline |
Return a Linear GlobalAddress to the first element of the vector.
Definition at line 451 of file GlobalVector.hpp.
|
inline |
Definition at line 280 of file GlobalVector.hpp.
|
inline |
Definition at line 456 of file GlobalVector.hpp.
|
inlinestatic |
Definition at line 360 of file GlobalVector.hpp.
|
inline |
Definition at line 425 of file GlobalVector.hpp.
|
inline |
Definition at line 370 of file GlobalVector.hpp.
|
inline |
Definition at line 448 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 454 of file GlobalVector.hpp.
|
inline |
Definition at line 423 of file GlobalVector.hpp.
|
inline |
Definition at line 464 of file GlobalVector.hpp.
|
inline |
Definition at line 267 of file GlobalVector.hpp.
|
inline |
Definition at line 400 of file GlobalVector.hpp.
|
inline |
Push element on the back (queue or stack)
Definition at line 378 of file GlobalVector.hpp.
|
inline |
Return number of elements currently in vector.
Definition at line 444 of file GlobalVector.hpp.
|
inline |
Definition at line 461 of file GlobalVector.hpp.
|
friend |
Definition at line 475 of file GlobalVector.hpp.
GlobalAddress<T> Grappa::GlobalVector< T, BUFFER_CAPACITY >::base |
Definition at line 340 of file GlobalVector.hpp.
size_t Grappa::GlobalVector< T, BUFFER_CAPACITY >::capacity |
Definition at line 341 of file GlobalVector.hpp.
|
protected |
Definition at line 345 of file GlobalVector.hpp.
|
protected |
Definition at line 346 of file GlobalVector.hpp.
|
protected |
Definition at line 343 of file GlobalVector.hpp.