Grappa  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Grappa::delegate::FetchAddCombiner< T, U > Class Template Reference

Flat combines fetch_and_add to a single global address. More...

#include <Delegate.hpp>

Public Member Functions

 FetchAddCombiner (GlobalAddress< T > target, uint64_t flush_threshold, U initVal)
 
void promise ()
 Promise that in the future you will call fetch_and_add. More...
 
fetch_and_add (U inc)
 

Detailed Description

template<typename T, typename U>
class Grappa::delegate::FetchAddCombiner< T, U >

Flat combines fetch_and_add to a single global address.

Warning
Target object must lie on a single node (not span blocks in global address space).

Definition at line 285 of file Delegate.hpp.


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