NAMD
|
Classes | |
struct | cuda_submit_charges_args |
Public Member Functions | |
ComputePmeMgr () | |
~ComputePmeMgr () | |
void | initialize (CkQdMsg *) |
void | initialize_pencils (CkQdMsg *) |
void | activate_pencils (CkQdMsg *) |
void | recvArrays (CProxy_PmeXPencil, CProxy_PmeYPencil, CProxy_PmeZPencil) |
void | initialize_computes () |
void | sendData (Lattice &, int sequence) |
void | sendDataPart (int first, int last, Lattice &, int sequence, int sourcepe, int errors) |
void | sendPencils (Lattice &, int sequence) |
void | sendPencilsPart (int first, int last, Lattice &, int sequence, int sourcepe) |
void | recvGrid (PmeGridMsg *) |
void | gridCalc1 (void) |
void | sendTransBarrier (void) |
void | sendTransSubset (int first, int last) |
void | sendTrans (void) |
void | fwdSharedTrans (PmeTransMsg *) |
void | recvSharedTrans (PmeSharedTransMsg *) |
void | sendDataHelper (int) |
void | sendPencilsHelper (int) |
void | recvTrans (PmeTransMsg *) |
void | procTrans (PmeTransMsg *) |
void | gridCalc2 (void) |
void | gridCalc2R (void) |
void | fwdSharedUntrans (PmeUntransMsg *) |
void | recvSharedUntrans (PmeSharedUntransMsg *) |
void | sendUntrans (void) |
void | sendUntransSubset (int first, int last) |
void | recvUntrans (PmeUntransMsg *) |
void | procUntrans (PmeUntransMsg *) |
void | gridCalc3 (void) |
void | sendUngrid (void) |
void | sendUngridSubset (int first, int last) |
void | recvUngrid (PmeGridMsg *) |
void | recvAck (PmeAckMsg *) |
void | copyResults (PmeGridMsg *) |
void | copyPencils (PmeGridMsg *) |
void | ungridCalc (void) |
void | recvRecipEvir (PmeEvirMsg *) |
void | addRecipEvirClient (void) |
void | submitReductions () |
void | chargeGridSubmitted (Lattice &lattice, int sequence) |
void | cuda_submit_charges (Lattice &lattice, int sequence) |
void | sendChargeGridReady () |
void | pollChargeGridReady () |
void | pollForcesReady () |
void | recvChargeGridReady () |
void | chargeGridReady (Lattice &lattice, int sequence) |
![]() | |
ComputePmeUtil () | |
~ComputePmeUtil () | |
Public Attributes | |
Lattice * | sendDataHelper_lattice |
int | sendDataHelper_sequence |
int | sendDataHelper_sourcepe |
int | sendDataHelper_errors |
CmiNodeLock | pmemgr_lock |
float * | a_data_host |
float * | a_data_dev |
float * | f_data_host |
float * | f_data_dev |
int | cuda_atoms_count |
int | cuda_atoms_alloc |
cudaEvent_t | end_charges |
cudaEvent_t * | end_forces |
int | forces_count |
int | forces_done_count |
double | charges_time |
double | forces_time |
int | check_charges_count |
int | check_forces_count |
int | master_pe |
int | this_pe |
int | chargeGridSubmittedCount |
Lattice * | saved_lattice |
int | saved_sequence |
ResizeArray< ComputePme * > | pmeComputes |
Static Public Attributes | |
static CmiNodeLock | fftw_plan_lock |
static CmiNodeLock | cuda_lock |
static std::deque< cuda_submit_charges_args > | cuda_submit_charges_deque |
static bool | cuda_busy |
![]() | |
static int | numGrids |
static Bool | alchOn |
static Bool | alchFepOn |
static Bool | alchThermIntOn |
static Bool | alchDecouple |
static BigReal | alchElecLambdaStart |
static Bool | lesOn |
static int | lesFactor |
static Bool | pairOn |
static Bool | selfOn |
Friends | |
class | ComputePme |
class | NodePmeMgr |
Additional Inherited Members | |
![]() | |
static void | select (void) |
Definition at line 381 of file ComputePme.C.
ComputePmeMgr::ComputePmeMgr | ( | ) |
Definition at line 736 of file ComputePme.C.
References chargeGridSubmittedCount, check_charges_count, check_forces_count, cuda_atoms_alloc, cuda_atoms_count, cuda_errcheck(), CUDA_EVENT_ID_PME_CHARGES, CUDA_EVENT_ID_PME_COPY, CUDA_EVENT_ID_PME_FORCES, CUDA_EVENT_ID_PME_KERNEL, CUDA_EVENT_ID_PME_TICK, cuda_lock, CUDA_STREAM_CREATE, end_charges, end_forces, fftw_plan_lock, NUM_STREAMS, pmemgr_lock, and this_pe.
ComputePmeMgr::~ComputePmeMgr | ( | ) |
void ComputePmeMgr::activate_pencils | ( | CkQdMsg * | msg | ) |
Definition at line 1814 of file ComputePme.C.
void ComputePmeMgr::addRecipEvirClient | ( | void | ) |
Definition at line 3055 of file ComputePme.C.
void ComputePmeMgr::chargeGridReady | ( | Lattice & | lattice, |
int | sequence | ||
) |
Definition at line 3579 of file ComputePme.C.
References PmeGrid::K3, NAMD_bug(), PmeGrid::order, pmeComputes, sendData(), sendPencils(), and ResizeArray< Elem >::size().
Referenced by ComputePme::doWork(), and recvChargeGridReady().
void ComputePmeMgr::chargeGridSubmitted | ( | Lattice & | lattice, |
int | sequence | ||
) |
Definition at line 3520 of file ComputePme.C.
References chargeGridSubmittedCount, CUDA_EVENT_ID_PME_COPY, end_charges, master_pe, Node::Object(), saved_lattice, saved_sequence, Node::simParameters, and simParams.
Referenced by cuda_submit_charges().
void ComputePmeMgr::copyPencils | ( | PmeGridMsg * | msg | ) |
Definition at line 3825 of file ComputePme.C.
References PmeGrid::block1, PmeGrid::block2, PmeGrid::dim2, PmeGrid::dim3, PmeGrid::K1, PmeGrid::K2, PmeGrid::K3, ComputePmeUtil::numGrids, PmeGrid::order, PmeGridMsg::qgrid, PmeGridMsg::sourceNode, PmeGridMsg::zlist, and PmeGridMsg::zlistlen.
Referenced by recvUngrid().
void ComputePmeMgr::copyResults | ( | PmeGridMsg * | msg | ) |
Definition at line 4017 of file ComputePme.C.
References PmeGrid::dim3, PmeGridMsg::fgrid, PmeGrid::K3, PmeGridMsg::len, ComputePmeUtil::numGrids, PmeGrid::order, PmeGridMsg::qgrid, PmeGridMsg::start, PmeGridMsg::zlist, and PmeGridMsg::zlistlen.
Referenced by recvUngrid().
void ComputePmeMgr::cuda_submit_charges | ( | Lattice & | lattice, |
int | sequence | ||
) |
Definition at line 3465 of file ComputePme.C.
References a_data_dev, a_data_host, chargeGridSubmitted(), charges_time, cuda_atoms_count, CUDA_EVENT_ID_PME_COPY, CUDA_EVENT_ID_PME_KERNEL, PmeGrid::K1, PmeGrid::K2, PmeGrid::K3, and PmeGrid::order.
Referenced by ComputePme::doWork().
void ComputePmeMgr::fwdSharedTrans | ( | PmeTransMsg * | msg | ) |
Definition at line 2040 of file ComputePme.C.
References PmeSharedTransMsg::count, PmeSharedTransMsg::lock, PmeSharedTransMsg::msg, NodePmeInfo::npe, NodePmeInfo::pe_start, PME_TRANS_PRIORITY, PRIORITY_SIZE, PmeTransMsg::sequence, and SET_PRIORITY.
Referenced by sendTransSubset().
void ComputePmeMgr::fwdSharedUntrans | ( | PmeUntransMsg * | msg | ) |
Definition at line 2296 of file ComputePme.C.
References PmeSharedUntransMsg::count, PmeSharedUntransMsg::lock, PmeSharedUntransMsg::msg, NodePmeInfo::npe, and NodePmeInfo::pe_start.
Referenced by sendUntransSubset().
void ComputePmeMgr::gridCalc1 | ( | void | ) |
Definition at line 1932 of file ComputePme.C.
References PmeGrid::dim2, PmeGrid::dim3, and ComputePmeUtil::numGrids.
void ComputePmeMgr::gridCalc2 | ( | void | ) |
Definition at line 2108 of file ComputePme.C.
References PmeGrid::dim3, gridCalc2R(), ComputePmeUtil::numGrids, LocalPmeInfo::ny_after_transpose, and simParams.
void ComputePmeMgr::gridCalc2R | ( | void | ) |
Definition at line 2168 of file ComputePme.C.
References CKLOOP_CTRL_PME_KSPACE, PmeKSpace::compute_energy(), PmeGrid::dim3, ComputeNonbondedUtil::ewaldcof, ComputePmeUtil::numGrids, LocalPmeInfo::ny_after_transpose, and Node::Object().
Referenced by gridCalc2().
void ComputePmeMgr::gridCalc3 | ( | void | ) |
Definition at line 2370 of file ComputePme.C.
References PmeGrid::dim2, PmeGrid::dim3, and ComputePmeUtil::numGrids.
void ComputePmeMgr::initialize | ( | CkQdMsg * | msg | ) |
Definition at line 888 of file ComputePme.C.
References Lattice::a(), Lattice::a_r(), ResizeArray< Elem >::add(), ResizeArray< Elem >::begin(), PmeGrid::block1, PmeGrid::block2, PmeGrid::block3, cuda_errcheck(), deviceCUDA, PmeGrid::dim2, PmeGrid::dim3, ResizeArray< Elem >::end(), endi(), fftw_plan_lock, findRecipEvirPe(), generatePmePeList2(), DeviceCUDA::getDeviceID(), PmePencilInitMsgData::grid, iINFO(), iout, PmeGrid::K1, PmeGrid::K2, PmeGrid::K3, PatchMap::max_a(), PatchMap::min_a(), NAMD_bug(), NAMD_die(), PatchMap::node(), NodePmeInfo::npe, ComputePmeUtil::numGrids, PatchMap::numNodesWithPatches(), PatchMap::numPatches(), PatchMap::numPatchesOnNode(), LocalPmeInfo::nx, LocalPmeInfo::ny_after_transpose, PatchMap::Object(), Node::Object(), DeviceCUDA::one_device_per_node(), PmeGrid::order, NodePmeInfo::pe_start, WorkDistrib::peDiffuseOrdering, pencilPMEProcessors, PmePencilInitMsgData::pmeNodeProxy, PmePencilInitMsgData::pmeProxy, NodePmeInfo::real_node, Random::reorder(), ResizeArray< Elem >::resize(), Node::simParameters, simParams, ResizeArray< Elem >::size(), SortableResizeArray< Elem >::sort(), WorkDistrib::sortPmePes(), Vector::unit(), LocalPmeInfo::x_start, PmePencilInitMsgData::xBlocks, PmePencilInitMsgData::xm, PmePencilInitMsgData::xPencil, LocalPmeInfo::y_start_after_transpose, PmePencilInitMsgData::yBlocks, PmePencilInitMsgData::ym, PmePencilInitMsgData::yPencil, PmePencilInitMsgData::zBlocks, PmePencilInitMsgData::zm, and PmePencilInitMsgData::zPencil.
void ComputePmeMgr::initialize_computes | ( | ) |
Definition at line 2756 of file ComputePme.C.
References chargeGridSubmittedCount, cuda_errcheck(), cuda_init_bspline_coeffs(), cuda_lock, deviceCUDA, PmeGrid::dim2, PmeGrid::dim3, DeviceCUDA::getDeviceID(), DeviceCUDA::getMasterPe(), ijpair::i, ijpair::j, PmeGrid::K1, PmeGrid::K2, PmeGrid::K3, master_pe, NAMD_bug(), ComputePmeUtil::numGrids, PatchMap::numPatchesOnNode(), PatchMap::Object(), Node::Object(), ReductionMgr::Object(), PmeGrid::order, REDUCTIONS_BASIC, Node::simParameters, simParams, ReductionMgr::willSubmit(), and XCOPY.
void ComputePmeMgr::initialize_pencils | ( | CkQdMsg * | msg | ) |
Definition at line 1719 of file ComputePme.C.
References Lattice::a(), Lattice::a_r(), Lattice::b(), Lattice::b_r(), PmeGrid::block1, PmeGrid::block2, deviceCUDA, DeviceCUDA::getMasterPe(), PmeGrid::K1, PmeGrid::K2, PatchMap::max_a(), PatchMap::max_b(), PatchMap::min_a(), PatchMap::min_b(), PatchMap::node(), PatchMap::numPatches(), PatchMap::Object(), Node::Object(), PmeGrid::order, Random::reorder(), Node::simParameters, simParams, and Vector::unit().
void ComputePmeMgr::pollChargeGridReady | ( | ) |
Definition at line 3566 of file ComputePme.C.
References CcdCallBacksReset(), cuda_check_pme_charges(), CUDA_POLL, and NAMD_bug().
void ComputePmeMgr::pollForcesReady | ( | ) |
Definition at line 2692 of file ComputePme.C.
References CcdCallBacksReset(), cuda_check_pme_forces(), CUDA_POLL, and NAMD_bug().
void ComputePmeMgr::procTrans | ( | PmeTransMsg * | msg | ) |
Definition at line 2074 of file ComputePme.C.
References PmeGrid::dim3, PmeTransMsg::lattice, NodePmeInfo::npe, ComputePmeUtil::numGrids, PmeTransMsg::nx, LocalPmeInfo::ny_after_transpose, NodePmeInfo::pe_start, PmeTransMsg::qgrid, PmeTransMsg::sequence, PmeTransMsg::x_start, and LocalPmeInfo::y_start_after_transpose.
Referenced by recvSharedTrans(), and recvTrans().
void ComputePmeMgr::procUntrans | ( | PmeUntransMsg * | msg | ) |
Definition at line 2328 of file ComputePme.C.
References PmeGrid::dim3, PmeGrid::K2, NodePmeInfo::npe, ComputePmeUtil::numGrids, LocalPmeInfo::nx, PmeUntransMsg::ny, NodePmeInfo::pe_start, PmeUntransMsg::qgrid, LocalPmeInfo::x_start, and PmeUntransMsg::y_start.
Referenced by recvSharedUntrans(), and recvUntrans().
void ComputePmeMgr::recvAck | ( | PmeAckMsg * | msg | ) |
Definition at line 2470 of file ComputePme.C.
References cuda_lock, master_pe, and NAMD_bug().
Referenced by recvUngrid().
void ComputePmeMgr::recvArrays | ( | CProxy_PmeXPencil | x, |
CProxy_PmeYPencil | y, | ||
CProxy_PmeZPencil | z | ||
) |
Definition at line 826 of file ComputePme.C.
void ComputePmeMgr::recvChargeGridReady | ( | ) |
Definition at line 3575 of file ComputePme.C.
References chargeGridReady(), saved_lattice, and saved_sequence.
void ComputePmeMgr::recvGrid | ( | PmeGridMsg * | msg | ) |
Definition at line 1853 of file ComputePme.C.
References PmeGrid::dim3, PmeGridMsg::fgrid, PmeGridMsg::lattice, NAMD_bug(), ComputePmeUtil::numGrids, PmeGridMsg::qgrid, PmeGridMsg::sequence, PmeGridMsg::zlist, and PmeGridMsg::zlistlen.
void ComputePmeMgr::recvRecipEvir | ( | PmeEvirMsg * | msg | ) |
Definition at line 3059 of file ComputePme.C.
References PmeEvirMsg::evir, NAMD_bug(), ComputePmeUtil::numGrids, pmeComputes, ResizeArray< Elem >::size(), and submitReductions().
void ComputePmeMgr::recvSharedTrans | ( | PmeSharedTransMsg * | msg | ) |
Definition at line 2056 of file ComputePme.C.
References PmeSharedTransMsg::count, PmeSharedTransMsg::lock, PmeSharedTransMsg::msg, and procTrans().
void ComputePmeMgr::recvSharedUntrans | ( | PmeSharedUntransMsg * | msg | ) |
Definition at line 2310 of file ComputePme.C.
References PmeSharedUntransMsg::count, PmeSharedUntransMsg::lock, PmeSharedUntransMsg::msg, and procUntrans().
void ComputePmeMgr::recvTrans | ( | PmeTransMsg * | msg | ) |
void ComputePmeMgr::recvUngrid | ( | PmeGridMsg * | msg | ) |
Definition at line 2455 of file ComputePme.C.
References copyPencils(), copyResults(), NAMD_bug(), and recvAck().
void ComputePmeMgr::recvUntrans | ( | PmeUntransMsg * | msg | ) |
void ComputePmeMgr::sendChargeGridReady | ( | ) |
Definition at line 3552 of file ComputePme.C.
References chargeGridSubmittedCount, master_pe, pmeComputes, and ResizeArray< Elem >::size().
Referenced by cuda_check_pme_charges().
void ComputePmeMgr::sendData | ( | Lattice & | lattice, |
int | sequence | ||
) |
Definition at line 3989 of file ComputePme.C.
References sendDataHelper_errors, sendDataHelper_lattice, sendDataHelper_sequence, sendDataHelper_sourcepe, and sendDataPart().
Referenced by chargeGridReady().
void ComputePmeMgr::sendDataHelper | ( | int | iter | ) |
void ComputePmeMgr::sendDataPart | ( | int | first, |
int | last, | ||
Lattice & | lattice, | ||
int | sequence, | ||
int | sourcepe, | ||
int | errors | ||
) |
Definition at line 3867 of file ComputePme.C.
References PmeGrid::block1, PmeGrid::dim2, PmeGrid::dim3, endi(), PmeGridMsg::fgrid, iERROR(), iout, PmeGrid::K2, PmeGrid::K3, PmeGridMsg::lattice, PmeGridMsg::len, NAMD_bug(), ComputePmeUtil::numGrids, PmeGrid::order, PME_GRID_PRIORITY, PRIORITY_SIZE, PmeGridMsg::qgrid, PmeGridMsg::sequence, SET_PRIORITY, PmeGridMsg::sourceNode, PmeGridMsg::start, PmeGridMsg::zlist, and PmeGridMsg::zlistlen.
Referenced by sendData(), and NodePmeMgr::sendDataHelper().
void ComputePmeMgr::sendPencils | ( | Lattice & | lattice, |
int | sequence | ||
) |
Definition at line 3762 of file ComputePme.C.
References PmeGrid::block1, PmeGrid::block2, PmeGrid::dim2, endi(), ijpair::i, iERROR(), iout, ijpair::j, PmeGrid::K1, PmeGrid::K2, ComputePmeUtil::numGrids, sendDataHelper_lattice, sendDataHelper_sequence, sendDataHelper_sourcepe, sendPencilsPart(), and NodePmeMgr::zm.
Referenced by chargeGridReady().
void ComputePmeMgr::sendPencilsHelper | ( | int | iter | ) |
void ComputePmeMgr::sendPencilsPart | ( | int | first, |
int | last, | ||
Lattice & | lattice, | ||
int | sequence, | ||
int | sourcepe | ||
) |
Definition at line 3607 of file ComputePme.C.
References PmeGrid::block1, PmeGrid::block2, PmeGridMsg::destElem, PmeGrid::dim2, PmeGrid::dim3, PmeGridMsg::fgrid, PmeGridMsg::hasData, ijpair::i, ijpair::j, PmeGrid::K1, PmeGrid::K2, PmeGrid::K3, PmeGridMsg::lattice, PmeGridMsg::len, NAMD_bug(), ComputePmeUtil::numGrids, PmeGrid::order, PME_GRID_PRIORITY, PRIORITY_SIZE, PmeGridMsg::qgrid, PmeGridMsg::sequence, SET_PRIORITY, PmeGridMsg::sourceNode, PmeGridMsg::start, PmeGridMsg::zlist, PmeGridMsg::zlistlen, and NodePmeMgr::zm.
Referenced by sendPencils(), and NodePmeMgr::sendPencilsHelper().
void ComputePmeMgr::sendTrans | ( | void | ) |
Definition at line 1965 of file ComputePme.C.
References CKLOOP_CTRL_PME_SENDTRANS, Node::Object(), PmeSlabSendTrans(), sendTransSubset(), Node::simParameters, and SimParameters::useCkLoop.
void ComputePmeMgr::sendTransBarrier | ( | void | ) |
Definition at line 1950 of file ComputePme.C.
void ComputePmeMgr::sendTransSubset | ( | int | first, |
int | last | ||
) |
Definition at line 1981 of file ComputePme.C.
References PmeGrid::dim3, fwdSharedTrans(), PmeGrid::K2, PmeTransMsg::lattice, NodePmeInfo::npe, ComputePmeUtil::numGrids, PmeTransMsg::nx, LocalPmeInfo::nx, LocalPmeInfo::ny_after_transpose, NodePmeInfo::pe_start, PME_TRANS_PRIORITY, PRIORITY_SIZE, PmeTransMsg::qgrid, NodePmeInfo::real_node, PmeTransMsg::sequence, SET_PRIORITY, PmeTransMsg::sourceNode, PmeTransMsg::x_start, LocalPmeInfo::x_start, and LocalPmeInfo::y_start_after_transpose.
Referenced by PmeSlabSendTrans(), and sendTrans().
void ComputePmeMgr::sendUngrid | ( | void | ) |
Definition at line 2395 of file ComputePme.C.
References CKLOOP_CTRL_PME_SENDUNTRANS, ComputePmeUtil::numGrids, Node::Object(), PmeSlabSendUngrid(), sendUngridSubset(), Node::simParameters, and SimParameters::useCkLoop.
void ComputePmeMgr::sendUngridSubset | ( | int | first, |
int | last | ||
) |
Definition at line 2411 of file ComputePme.C.
References PmeGrid::dim3, PmeGridMsg::fgrid, PmeGridMsg::len, ComputePmeUtil::numGrids, PME_OFFLOAD_UNGRID_PRIORITY, PME_UNGRID_PRIORITY, PmeGridMsg::qgrid, SET_PRIORITY, PmeGridMsg::sourceNode, PmeGridMsg::start, PmeGridMsg::zlist, and PmeGridMsg::zlistlen.
Referenced by PmeSlabSendUngrid(), and sendUngrid().
void ComputePmeMgr::sendUntrans | ( | void | ) |
Definition at line 2209 of file ComputePme.C.
References CKLOOP_CTRL_PME_SENDUNTRANS, PmeEvirMsg::evir, ComputePmeUtil::numGrids, Node::Object(), PME_UNGRID_PRIORITY, PmeSlabSendUntrans(), PRIORITY_SIZE, sendUntransSubset(), SET_PRIORITY, Node::simParameters, and SimParameters::useCkLoop.
void ComputePmeMgr::sendUntransSubset | ( | int | first, |
int | last | ||
) |
Definition at line 2236 of file ComputePme.C.
References PmeGrid::dim3, fwdSharedUntrans(), PmeGrid::K2, NodePmeInfo::npe, ComputePmeUtil::numGrids, LocalPmeInfo::nx, PmeUntransMsg::ny, LocalPmeInfo::ny_after_transpose, NodePmeInfo::pe_start, PME_UNTRANS_PRIORITY, PRIORITY_SIZE, PmeUntransMsg::qgrid, NodePmeInfo::real_node, SET_PRIORITY, PmeUntransMsg::sourceNode, LocalPmeInfo::x_start, PmeUntransMsg::y_start, and LocalPmeInfo::y_start_after_transpose.
Referenced by PmeSlabSendUntrans(), and sendUntrans().
void ComputePmeMgr::submitReductions | ( | ) |
Definition at line 4239 of file ComputePme.C.
References ComputePmeUtil::alchDecouple, ComputePmeUtil::alchFepOn, ComputePmeUtil::alchOn, ComputePmeUtil::alchThermIntOn, SubmitReduction::item(), ComputePmeUtil::lesFactor, ComputePmeUtil::lesOn, WorkDistrib::messageEnqueueWork(), NAMD_bug(), ComputePmeUtil::numGrids, Node::Object(), ComputePmeUtil::pairOn, REDUCTION_ELECT_ENERGY_PME_TI_1, REDUCTION_ELECT_ENERGY_PME_TI_2, REDUCTION_ELECT_ENERGY_SLOW, REDUCTION_ELECT_ENERGY_SLOW_F, REDUCTION_STRAY_CHARGE_ERRORS, ResizeArray< Elem >::resize(), Node::simParameters, simParams, ResizeArray< Elem >::size(), and SubmitReduction::submit().
Referenced by ComputePme::doWork(), and recvRecipEvir().
void ComputePmeMgr::ungridCalc | ( | void | ) |
Definition at line 2545 of file ComputePme.C.
References a_data_dev, cuda_errcheck(), CUDA_EVENT_ID_PME_COPY, CUDA_EVENT_ID_PME_KERNEL, CUDA_EVENT_ID_PME_TICK, deviceCUDA, end_forces, EVENT_STRIDE, f_data_dev, f_data_host, forces_count, forces_done_count, forces_time, DeviceCUDA::getDeviceID(), PmeGrid::K1, PmeGrid::K2, PmeGrid::K3, WorkDistrib::messageEnqueueWork(), PmeGrid::order, pmeComputes, ResizeArray< Elem >::size(), this_pe, and ungridCalc().
Referenced by ungridCalc().
|
friend |
Definition at line 383 of file ComputePme.C.
|
friend |
Definition at line 384 of file ComputePme.C.
float* ComputePmeMgr::a_data_dev |
Definition at line 445 of file ComputePme.C.
Referenced by cuda_submit_charges(), ComputePme::doWork(), and ungridCalc().
float* ComputePmeMgr::a_data_host |
Definition at line 444 of file ComputePme.C.
Referenced by cuda_submit_charges(), and ComputePme::doWork().
int ComputePmeMgr::chargeGridSubmittedCount |
Definition at line 470 of file ComputePme.C.
Referenced by chargeGridSubmitted(), ComputePmeMgr(), initialize_computes(), and sendChargeGridReady().
double ComputePmeMgr::charges_time |
Definition at line 456 of file ComputePme.C.
Referenced by cuda_check_pme_charges(), and cuda_submit_charges().
int ComputePmeMgr::check_charges_count |
Definition at line 458 of file ComputePme.C.
Referenced by ComputePmeMgr(), and cuda_check_pme_charges().
int ComputePmeMgr::check_forces_count |
Definition at line 459 of file ComputePme.C.
Referenced by ComputePmeMgr(), and cuda_check_pme_forces().
int ComputePmeMgr::cuda_atoms_alloc |
Definition at line 449 of file ComputePme.C.
Referenced by ComputePmeMgr(), and ComputePme::doWork().
int ComputePmeMgr::cuda_atoms_count |
Definition at line 448 of file ComputePme.C.
Referenced by ComputePmeMgr(), cuda_submit_charges(), ComputePme::doWork(), and ComputePme::initialize().
|
static |
Definition at line 468 of file ComputePme.C.
Referenced by ComputePme::doWork().
|
static |
Definition at line 450 of file ComputePme.C.
Referenced by ComputePmeMgr(), ComputePme::doWork(), initialize_computes(), and recvAck().
|
static |
Definition at line 467 of file ComputePme.C.
Referenced by ComputePme::doWork().
cudaEvent_t ComputePmeMgr::end_charges |
Definition at line 452 of file ComputePme.C.
Referenced by chargeGridSubmitted(), ComputePmeMgr(), and cuda_check_pme_charges().
cudaEvent_t* ComputePmeMgr::end_forces |
Definition at line 453 of file ComputePme.C.
Referenced by ComputePmeMgr(), cuda_check_pme_forces(), and ungridCalc().
float* ComputePmeMgr::f_data_dev |
Definition at line 447 of file ComputePme.C.
Referenced by ungridCalc().
float* ComputePmeMgr::f_data_host |
Definition at line 446 of file ComputePme.C.
Referenced by ungridCalc().
|
static |
Definition at line 440 of file ComputePme.C.
Referenced by ComputePmeMgr(), PmeZPencil::fft_init(), PmeYPencil::fft_init(), PmeXPencil::fft_init(), initialize(), PmeZPencil::node_process_grid(), PmeZPencil::node_process_untrans(), NodePmeMgr::registerXPencil(), NodePmeMgr::registerYPencil(), NodePmeMgr::registerZPencil(), and ~ComputePmeMgr().
int ComputePmeMgr::forces_count |
Definition at line 454 of file ComputePme.C.
Referenced by cuda_check_pme_forces(), and ungridCalc().
int ComputePmeMgr::forces_done_count |
Definition at line 455 of file ComputePme.C.
Referenced by cuda_check_pme_forces(), and ungridCalc().
double ComputePmeMgr::forces_time |
Definition at line 457 of file ComputePme.C.
Referenced by cuda_check_pme_forces(), and ungridCalc().
int ComputePmeMgr::master_pe |
Definition at line 460 of file ComputePme.C.
Referenced by chargeGridSubmitted(), initialize_computes(), recvAck(), and sendChargeGridReady().
ResizeArray<ComputePme*> ComputePmeMgr::pmeComputes |
Definition at line 480 of file ComputePme.C.
Referenced by chargeGridReady(), cuda_check_pme_forces(), ComputePme::doWork(), getComputes(), ComputePme::noWork(), recvRecipEvir(), sendChargeGridReady(), and ungridCalc().
CmiNodeLock ComputePmeMgr::pmemgr_lock |
Definition at line 441 of file ComputePme.C.
Referenced by ComputePmeMgr(), and ~ComputePmeMgr().
Lattice* ComputePmeMgr::saved_lattice |
Definition at line 473 of file ComputePme.C.
Referenced by chargeGridSubmitted(), and recvChargeGridReady().
int ComputePmeMgr::saved_sequence |
Definition at line 474 of file ComputePme.C.
Referenced by chargeGridSubmitted(), cuda_check_pme_charges(), cuda_check_pme_forces(), and recvChargeGridReady().
int ComputePmeMgr::sendDataHelper_errors |
Definition at line 399 of file ComputePme.C.
Referenced by sendData(), and NodePmeMgr::sendDataHelper().
Lattice* ComputePmeMgr::sendDataHelper_lattice |
Definition at line 396 of file ComputePme.C.
Referenced by sendData(), NodePmeMgr::sendDataHelper(), sendPencils(), and NodePmeMgr::sendPencilsHelper().
int ComputePmeMgr::sendDataHelper_sequence |
Definition at line 397 of file ComputePme.C.
Referenced by sendData(), NodePmeMgr::sendDataHelper(), sendPencils(), and NodePmeMgr::sendPencilsHelper().
int ComputePmeMgr::sendDataHelper_sourcepe |
Definition at line 398 of file ComputePme.C.
Referenced by sendData(), NodePmeMgr::sendDataHelper(), sendPencils(), and NodePmeMgr::sendPencilsHelper().
int ComputePmeMgr::this_pe |
Definition at line 461 of file ComputePme.C.
Referenced by ComputePmeMgr(), and ungridCalc().