|
NAMD
|
Broadcast object for intra-node GPU-resident broadcasts. More...
#include <BroadcastObject.h>
Public Attributes | |
| CmiNodeLock | lock |
| std::map< int, std::any > | data |
| std::map< int, std::map< int, int > > | current |
Broadcast object for intra-node GPU-resident broadcasts.
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved. There will exist one of these in each logical node to facilitate shared memory broadcasts between PEs within that logic node
The data object stores the actual data associated with a given ID, and the current objects stores the retrieval count for a given ID,tag pair. Once the retrieval count has been reached, the entry for that ID in data is cleared
The id will be some enum value, like "velocityRescaleFactor2Tag", defined in Broadcasts.h. TODO: Why is this field called id if enum names are "Tag"?
The tag is often the timestep.
Definition at line 42 of file BroadcastObject.h.
| std::map<int, std::map<int, int> > NodeBroadcast::current |
Definition at line 50 of file BroadcastObject.h.
Referenced by SimpleBroadcastObject< Tensor >::get(), and SimpleBroadcastObject< Tensor >::publish().
| std::map<int, std::any> NodeBroadcast::data |
Definition at line 48 of file BroadcastObject.h.
Referenced by SimpleBroadcastObject< Tensor >::get(), SimpleBroadcastObject< Tensor >::publish(), and SimpleBroadcastObject< Tensor >::SimpleBroadcastObject().
| CmiNodeLock NodeBroadcast::lock |
Definition at line 44 of file BroadcastObject.h.
Referenced by SimpleBroadcastObject< Tensor >::get(), PatchData::PatchData(), SimpleBroadcastObject< Tensor >::publish(), and SimpleBroadcastObject< Tensor >::SimpleBroadcastObject().
1.8.14