NAMD
Public Attributes | List of all members
NodeBroadcast Class Reference

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
 

Detailed Description

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.

Member Data Documentation

◆ current

std::map<int, std::map<int, int> > NodeBroadcast::current

◆ data

std::map<int, std::any> NodeBroadcast::data

◆ lock

CmiNodeLock NodeBroadcast::lock

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