|
QDP++
|
Parscalarvec layout routines. More...
Go to the source code of this file.
Classes | |
| struct | QDP::Layout::LocalLayout_t |
| Local data specific to all architectures. More... | |
Namespaces | |
| namespace | QDP |
| Yet another random number generator. | |
| namespace | QDP::Layout |
| Layout namespace holding info on problem size and machine info. | |
Functions | |
| template<class T> | |
| ostream & | QDP::operator<< (ostream &s, const multi1d< T > &s1) |
| void | QDP::Layout::destroy () |
| Main destruction routine. | |
| void | QDP::Layout::setLattSize (const multi1d< int > &nrows) |
| Set virtual grid (problem grid) lattice size. | |
| void | QDP::Layout::setSMPFlag (bool flag) |
| Set SMP flag – true if using smp/multiprocessor mode on a node. | |
| void | QDP::Layout::setNumProc (int N) |
| Set number of processors in a multi-threaded implementation. | |
| const multi1d< int > & | QDP::Layout::lattSize () |
| Virtual grid (problem grid) lattice size. | |
| int | QDP::Layout::vol () |
| Total lattice volume. | |
| int | QDP::Layout::sitesOnNode () |
| Subgrid lattice volume. | |
| int | QDP::Layout::outerSitesOnNode () |
| Subgrid lattice volume. | |
| bool | QDP::Layout::primaryNode () |
| Returns whether this is the primary node. | |
| const multi1d< int > & | QDP::Layout::subgridLattSize () |
| Subgrid (grid on each node) lattice size. | |
| int | QDP::Layout::nodeNumber () |
| Returns the node number of this node. | |
| int | QDP::Layout::numNodes () |
| Returns the number of nodes. | |
| const multi1d< int > & | QDP::Layout::nodeCoord () |
| Returns the logical node coordinates for this node. | |
| const multi1d< int > & | QDP::Layout::logicalSize () |
| Returns the logical size of this machine. | |
| int | QDP::Layout::getNodeNumberFrom (const multi1d< int > &node_coord) |
| Returns the node number given some logical node coordinate. | |
| multi1d< int > | QDP::Layout::getLogicalCoordFrom (int node) |
| Returns the logical node coordinates given some node number. | |
| multi1d< int > | QDP::Layout::minimalLayoutMapping () |
| Return the smallest lattice size per node allowed. | |
| void | QDP::Layout::init () |
| Initializer for layout. | |
| int | QDP::Layout::linearSiteIndex (int site) |
| The linearized site index for the corresponding lexicographic site. | |
| void | QDP::Layout::initDefaults () |
| Initializer for all the layout defaults. | |
| void | QDP::Layout::create () |
| Main lattice creation routine. | |
Parscalarvec layout routines.
Layout routines for parscalarvec implementation QDP data parallel interface
Layout
This routine provides various layouts, including lexicographic 2-checkerboard (even/odd-checkerboarding of sites) 32-style checkerboard (even/odd-checkerboarding of hypercubes)
Definition in file qdp_parscalarvec_layout.cc.