NAMD
|
#include <stdio.h>
#include "InfoStream.h"
#include "Communicate.h"
#include "ProcessorPrivate.h"
#include "BOCgroup.h"
#include "WorkDistrib.decl.h"
#include "WorkDistrib.h"
#include "Lattice.h"
#include "ComputeMsmMsa.h"
#include "main.decl.h"
#include "main.h"
#include "Node.h"
#include "PatchMgr.h"
#include "PatchMap.inl"
#include "NamdTypes.h"
#include "PDB.h"
#include "SimParameters.h"
#include "Molecule.h"
#include "NamdOneTools.h"
#include "Compute.h"
#include "ComputeMap.h"
#include "RecBisection.h"
#include "Random.h"
#include "varsizemsg.h"
#include "ProxyMgr.h"
#include "Priorities.h"
#include "SortAtoms.h"
#include <algorithm>
#include "TopoManager.h"
#include "ComputePmeCUDAMgr.h"
#include "DeviceCUDA.h"
#include "Debug.h"
#include "WorkDistrib.def.h"
Go to the source code of this file.
Classes | |
class | ComputeMapChangeMsg |
struct | pe_sortop_bit_reversed |
struct | pe_sortop_coord_x |
struct | pe_sortop_coord_y |
class | PatchMapMsg |
struct | nodesort |
struct | TopoManagerWrapper |
struct | TopoManagerWrapper::pe_sortop_topo |
struct | patch_sortop_curve_a |
struct | patch_sortop_curve_b |
struct | patch_sortop_curve_c |
Macros | |
#define | MIN_DEBUG_LEVEL 2 |
#define | MACHINE_PROGRESS { traceUserEvent(eventMachineProgress); CmiMachineProgressImpl(); } |
Functions | |
static void | build_ordering (void *) |
void | topo_getargs (char **argv) |
static int | compare_bit_reversed (int a, int b) |
static bool | less_than_bit_reversed (int a, int b) |
void | cuda_initialize () |
void | mic_initialize () |
static void | recursive_bisect_coord (int x_begin, int x_end, int y_begin, int y_end, int *pe_begin, ScaledPosition *coord, int *result, int ydim) |
static void | recursive_bisect_with_curve (int *patch_begin, int *patch_end, int *node_begin, int *node_end, double *patchLoads, double *sortedLoads, int *assignedNode, TopoManagerWrapper &tmgr) |
Variables | |
__thread DeviceCUDA * | deviceCUDA |
static int | randtopo |
static int | eventMachineProgress |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved. Currently, WorkDistrib generates the layout of the Patches, directs the construction and distribution of Computes and associates Computes with Patches.
Definition in file WorkDistrib.C.
#define MACHINE_PROGRESS { traceUserEvent(eventMachineProgress); CmiMachineProgressImpl(); } |
Referenced by WorkDistrib::enqueueAngles(), WorkDistrib::enqueueAniso(), WorkDistrib::enqueueBonds(), WorkDistrib::enqueueCrossterms(), WorkDistrib::enqueueCUDA(), WorkDistrib::enqueueCUDAP2(), WorkDistrib::enqueueCUDAP3(), WorkDistrib::enqueueDihedrals(), WorkDistrib::enqueueExcls(), WorkDistrib::enqueueGromacsPair(), WorkDistrib::enqueueImpropers(), WorkDistrib::enqueueMIC(), WorkDistrib::enqueuePme(), WorkDistrib::enqueueSelfA1(), WorkDistrib::enqueueSelfA2(), WorkDistrib::enqueueSelfA3(), WorkDistrib::enqueueSelfB1(), WorkDistrib::enqueueSelfB2(), WorkDistrib::enqueueSelfB3(), WorkDistrib::enqueueThole(), WorkDistrib::enqueueWork(), WorkDistrib::enqueueWorkA1(), WorkDistrib::enqueueWorkA2(), WorkDistrib::enqueueWorkA3(), WorkDistrib::enqueueWorkB1(), WorkDistrib::enqueueWorkB2(), WorkDistrib::enqueueWorkB3(), WorkDistrib::enqueueWorkC(), WorkDistrib::finishCUDA(), WorkDistrib::finishCUDAP2(), WorkDistrib::finishCUDAP3(), WorkDistrib::finishMIC(), WorkDistrib::messageEnqueueWork(), WorkDistrib::messageFinishCUDA(), and WorkDistrib::messageFinishMIC().
#define MIN_DEBUG_LEVEL 2 |
Definition at line 61 of file WorkDistrib.C.
Definition at line 86 of file WorkDistrib.C.
References WorkDistrib::buildNodeAwarePeOrdering().
Referenced by topo_getargs().
|
static |
Definition at line 124 of file WorkDistrib.C.
void cuda_initialize | ( | ) |
Definition at line 24 of file DeviceCUDA.C.
References deviceCUDA, and DeviceCUDA::initialize().
Referenced by WorkDistrib::peOrderingReady().
|
static |
Definition at line 133 of file WorkDistrib.C.
void mic_initialize | ( | ) |
Referenced by WorkDistrib::peOrderingReady().
|
static |
Definition at line 272 of file WorkDistrib.C.
Referenced by WorkDistrib::sortPmePes().
|
static |
Definition at line 1976 of file WorkDistrib.C.
References TopoManagerWrapper::coords(), SimParameters::disableTopology, SimParameters::emptyPatchLoad, Patch::getNumAtoms(), PatchMap::index_a(), PatchMap::index_b(), PatchMap::index_c(), load, NAMD_bug(), PatchMap::Object(), Node::Object(), PatchMap::patch(), Node::simParameters, sort, TopoManagerWrapper::sortAndSplit(), and SimParameters::verboseTopology.
void topo_getargs | ( | char ** | argv | ) |
Definition at line 90 of file WorkDistrib.C.
References build_ordering(), and randtopo.
Referenced by all_init().
__thread DeviceCUDA* deviceCUDA |
Definition at line 22 of file DeviceCUDA.C.
|
static |
Definition at line 100 of file WorkDistrib.C.
Referenced by WorkDistrib::WorkDistrib().
|
static |
Definition at line 84 of file WorkDistrib.C.
Referenced by WorkDistrib::buildNodeAwarePeOrdering(), and topo_getargs().