sc::ARMCIMemoryGrp(3) | MPQC | sc::ARMCIMemoryGrp(3) |
sc::ARMCIMemoryGrp - The ARMCIMemoryGrp concrete class provides an implementation of MsgMemoryGrp.
#include <memarmci.h>
Inherits sc::RDMAMemoryGrp.
ARMCIMemoryGrp (const Ref< MessageGrp >
&msg)
ARMCIMemoryGrp (const Ref< KeyVal > &)
void set_localsize (size_t)
Set the size of locally held memory. void retrieve_data (void *, int
node, int offset, int size, int lock)
void replace_data (void *, int node, int offset, int
size, int unlock)
void sum_data (double *data, int node, int doffset, int dsize)
void sync ()
Synchronizes all the nodes. void deactivate ()
Deactivate is called after the memory has been used. void *
malloc_local (size_t nbyte)
Allocate data that will be accessed locally only. void free_local (void
*data)
Free data that was allocated with malloc_local_double. void print
(std::ostream &o=ExEnv::out0()) const
Prints out information about the object.
The ARMCIMemoryGrp concrete class provides an implementation of MsgMemoryGrp.
It uses the ARMCI interface.
Allocate data that will be accessed locally only. Using this for data that will be used for global operation can improve efficiency. Data allocated in this way must be freed with free_local_double.
Reimplemented from sc::MemoryGrp.
Set the size of locally held memory. When memory is accessed using a global offset counting starts at node 0 and proceeds up to node n() - 1.
Implements sc::MemoryGrp.
Synchronizes all the nodes. This is useful after remote memory writes to be certain that all of the writes have completed and the data can be accessed locally, for example.
Implements sc::MemoryGrp.
Generated automatically by Doxygen for MPQC from the source code.
Sun Oct 4 2020 | Version 2.3.1 |