NAMD
|
#include <ReductionMgr.h>
Public Member Functions | |
ReductionMgr () | |
~ReductionMgr () | |
void | buildSpanTree (const int pe, const int max_intranode_children, const int max_internode_children, int *parent, int *num_children, int **children) |
SubmitReduction * | willSubmit (int setID, int size=-1) |
RequireReduction * | willRequire (int setID, int size=-1) |
void | remoteRegister (ReductionRegisterMsg *msg) |
void | remoteUnregister (ReductionRegisterMsg *msg) |
void | remoteSubmit (ReductionSubmitMsg *msg) |
Static Public Member Functions | |
static ReductionMgr * | Object (void) |
Friends | |
class | SubmitReduction |
class | SubmitReductionCharm |
class | SubmitReductionShared |
class | RequireReduction |
class | RequireReductionCharm |
class | RequireReductionShared |
Definition at line 241 of file ReductionMgr.h.
ReductionMgr::ReductionMgr | ( | ) |
Definition at line 282 of file ReductionMgr.C.
References buildSpanTree(), DebugM, REDUCTION_MAX_CHILDREN, and REDUCTION_MAX_SET_ID.
ReductionMgr::~ReductionMgr | ( | ) |
Definition at line 322 of file ReductionMgr.C.
References REDUCTION_MAX_SET_ID.
void ReductionMgr::buildSpanTree | ( | const int | pe, |
const int | max_intranode_children, | ||
const int | max_internode_children, | ||
int * | parent, | ||
int * | num_children, | ||
int ** | children | ||
) |
Definition at line 122 of file ReductionMgr.C.
References NAMD_bug(), NAMD_die(), and split().
Referenced by ReductionMgr().
|
inlinestatic |
Definition at line 290 of file ReductionMgr.h.
Referenced by colvarproxy_namd::colvarproxy_namd(), ComputeConsForce::ComputeConsForce(), ComputeConsTorque::ComputeConsTorque(), ComputeCylindricalBC::ComputeCylindricalBC(), ComputeEField::ComputeEField(), ComputeEwald::ComputeEwald(), ComputeExt::ComputeExt(), ComputeFmmSerial::ComputeFmmSerial(), ComputeFullDirect::ComputeFullDirect(), ComputeGBISser::ComputeGBISser(), ComputeGlobal::ComputeGlobal(), ComputeGridForce::ComputeGridForce(), ComputeHomeTuples< TholeElem, Thole, TholeValue >::ComputeHomeTuples(), ComputeLCPO::ComputeLCPO(), ComputeLjPmeSerial::ComputeLjPmeSerial(), ComputeMsm::ComputeMsm(), ComputeMsmSerial::ComputeMsmSerial(), ComputeNonbondedPair::ComputeNonbondedPair(), ComputeNonbondedSelf::ComputeNonbondedSelf(), ComputeQM::ComputeQM(), ComputeRestraints::ComputeRestraints(), ComputeSphericalBC::ComputeSphericalBC(), ComputeStir::ComputeStir(), ComputeTclBC::ComputeTclBC(), Controller::Controller(), CudaPmeOneDevice::CudaPmeOneDevice(), GlobalMaster::GlobalMaster(), ComputePmeCUDA::initialize(), CudaComputeNonbonded::initialize(), ComputePmeMgr::initialize_computes(), Patch::Patch(), PmePencilXYZ::PmePencilXYZ(), PmePencilZ::PmePencilZ(), PressureProfileReduction::PressureProfileReduction(), and Sequencer::Sequencer().
void ReductionMgr::remoteRegister | ( | ReductionRegisterMsg * | msg | ) |
Definition at line 426 of file ReductionMgr.C.
References ReductionRegisterMsg::dataSize, NAMD_die(), ReductionRegisterMsg::reductionSetID, and ReductionRegisterMsg::sourceNode.
void ReductionMgr::remoteSubmit | ( | ReductionSubmitMsg * | msg | ) |
Definition at line 460 of file ReductionMgr.C.
References ReductionSubmitMsg::data, ReductionSetData::data, ReductionSubmitMsg::dataSize, NAMD_bug(), REDUCTIONS_MINIMIZER, ReductionSubmitMsg::reductionSetID, ReductionSubmitMsg::sequenceNumber, ReductionSubmitMsg::sourceNode, and ReductionSetData::submitsRecorded.
void ReductionMgr::remoteUnregister | ( | ReductionRegisterMsg * | msg | ) |
Definition at line 445 of file ReductionMgr.C.
References NAMD_die(), and ReductionRegisterMsg::reductionSetID.
RequireReduction * ReductionMgr::willRequire | ( | int | setID, |
int | size = -1 |
||
) |
Definition at line 539 of file ReductionMgr.C.
References NAMD_die(), Node::Object(), REDUCTIONS_GPURESIDENT, RequireReductionCharm, RequireReductionShared, Node::simParameters, and simParams.
Referenced by Controller::Controller(), and PressureProfileReduction::PressureProfileReduction().
SubmitReduction * ReductionMgr::willSubmit | ( | int | setID, |
int | size = -1 |
||
) |
Definition at line 368 of file ReductionMgr.C.
References ReductionSetData::data, SubmitReduction::data, SubmitReductionCharm::master, NAMD_die(), Node::Object(), REDUCTIONS_GPURESIDENT, SubmitReductionCharm::reductionSetID, SubmitReductionCharm::sequenceNumber, Node::simParameters, simParams, SubmitReductionCharm, SubmitReductionShared, and ReductionSetData::submitsRecorded.
Referenced by colvarproxy_namd::colvarproxy_namd(), ComputeConsForce::ComputeConsForce(), ComputeConsTorque::ComputeConsTorque(), ComputeCylindricalBC::ComputeCylindricalBC(), ComputeEField::ComputeEField(), ComputeEwald::ComputeEwald(), ComputeExt::ComputeExt(), ComputeFmmSerial::ComputeFmmSerial(), ComputeFullDirect::ComputeFullDirect(), ComputeGBISser::ComputeGBISser(), ComputeGlobal::ComputeGlobal(), ComputeGridForce::ComputeGridForce(), ComputeHomeTuples< TholeElem, Thole, TholeValue >::ComputeHomeTuples(), ComputeLCPO::ComputeLCPO(), ComputeLjPmeSerial::ComputeLjPmeSerial(), ComputeMsm::ComputeMsm(), ComputeMsmSerial::ComputeMsmSerial(), ComputeNonbondedPair::ComputeNonbondedPair(), ComputeNonbondedSelf::ComputeNonbondedSelf(), ComputeQM::ComputeQM(), ComputeRestraints::ComputeRestraints(), ComputeSphericalBC::ComputeSphericalBC(), ComputeStir::ComputeStir(), ComputeTclBC::ComputeTclBC(), Controller::Controller(), CudaPmeOneDevice::CudaPmeOneDevice(), GlobalMaster::GlobalMaster(), ComputePmeCUDA::initialize(), CudaComputeNonbonded::initialize(), ComputePmeMgr::initialize_computes(), Patch::Patch(), PmePencilXYZ::PmePencilXYZ(), PmePencilZ::PmePencilZ(), and Sequencer::Sequencer().
|
friend |
Definition at line 247 of file ReductionMgr.h.
|
friend |
Definition at line 248 of file ReductionMgr.h.
Referenced by willRequire().
|
friend |
Definition at line 249 of file ReductionMgr.h.
Referenced by willRequire().
|
friend |
Definition at line 244 of file ReductionMgr.h.
|
friend |
Definition at line 245 of file ReductionMgr.h.
Referenced by willSubmit().
|
friend |
Definition at line 246 of file ReductionMgr.h.
Referenced by willSubmit().