|
QDP++
|
Functions | |
| void | broadcast_str (std::string &result) |
| Broadcast a string from primary node to all other nodes. | |
| bool | gridArch () |
| Is this a grid architecture. | |
| void | clearToSend (void *buffer, int count, int node) |
| Send a clear-to-send. | |
| void | route (void *buffer, int srce_node, int dest_node, int count) |
| Route to another node (blocking). | |
| void | sendToWait (void *send_buf, int dest_node, int count) |
| Send to another node (wait). | |
| void | recvFromWait (void *recv_buf, int srce_node, int count) |
| Receive from another node (wait). | |
| void | wait (int dir) |
| Wait on send-receive. | |
| template<class T> | |
| void | sendToPrimaryNode (T &dest, int srcnode) |
| Via some mechanism, get the dest to node 0. | |
| void | sumAnUnsigned (void *inout, void *in) |
| Unsigned accumulate. | |
| void | globalSumArray (unsigned int *dest, int len) |
| Wrapper to get a functional unsigned global sum. | |
| void | globalSumArray (int *dest, int len) |
| Low level hook to QMP_global_sum. | |
| void | globalSumArray (float *dest, int len) |
| Low level hook to QMP_global_sum. | |
| void | globalSumArray (double *dest, int len) |
| Low level hook to QMP_global_sum. | |
| template<class T> | |
| void | globalSumArray (multi1d< T > &dest) |
| Global sum on a multi1d. | |
| template<class T> | |
| void | globalSumArray (multi2d< T > &dest) |
| Global sum on a multi2d. | |
| template<class T> | |
| void | globalSum (T &dest) |
| Sum across all nodes. | |
| template<> | |
| void | globalSum (double &dest) |
| void | globalMaxValue (float *dest) |
| Low level hook to QMP_max_double. | |
| void | globalMaxValue (double *dest) |
| Low level hook to QMP_max_double. | |
| template<class T> | |
| void | globalMax (T &dest) |
| Global max across all nodes. | |
| void | globalMinValue (float *dest) |
| Low level hook to QMP_min_float. | |
| void | globalMinValue (double *dest) |
| Low level hook to QMP_min_double. | |
| template<class T> | |
| void | globalMin (T &dest) |
| Global min across all nodes. | |
| void | globalCheckAnd (void *inout, void *in) |
| Global And. | |
| void | globalAnd (bool &dest) |
| Wrapper to get a functional global And. | |
| void | globalCheckOr (void *inout, void *in) |
| Global Or. | |
| void | globalOr (bool &dest) |
| Wrapper to get a functional global Or. | |
| template<class T> | |
| void | broadcast (T &dest) |
| Broadcast from primary node to all other nodes. | |
| void | broadcast (void *dest, size_t nbytes) |
| Broadcast from primary node to all other nodes. | |
| template<> | |
| void | broadcast (std::string &dest) |
| Broadcast a string from primary node to all other nodes. | |
| template<> | |
| void | broadcast (std::string &dest) |
| Broadcast a string from primary node to all other nodes. | |
| template<class T> | |
| void | globalSumArray (T *dest, int n) |
| Dummy array sum accross all nodes. | |
| template<> | |
| void | broadcast (std::string &dest) |
| Dummy broadcast from primary node to all other nodes. | |
| template<> | |
| void | broadcast (std::string &dest) |
|
inline |
Broadcast a string from primary node to all other nodes.
Definition at line 239 of file qdp_parscalar_specific.h.
References broadcast_str().
|
inline |
Broadcast a string from primary node to all other nodes.
Definition at line 117 of file qdp_parscalarvec_specific.h.
References broadcast(), and broadcast_str().
|
inline |
Dummy broadcast from primary node to all other nodes.
Definition at line 56 of file qdp_scalar_specific.h.
|
inline |
Definition at line 50 of file qdp_scalarvec_specific.h.
References broadcast().
|
inline |
Broadcast from primary node to all other nodes.
Dummy broadcast from primary node to all other nodes.
Definition at line 223 of file qdp_parscalar_specific.h.
Referenced by broadcast(), broadcast_str(), QDP::MapObjDiskEnv::checkForNewFile(), QDP::BinaryStoreDB< K, D >::close(), QDP::XMLReader::count(), QDP::BinaryReader::currentPosition(), QDP::BinaryReaderWriter::currentPosition(), QDP::BinaryWriter::currentPosition(), QDP::BinaryStoreDB< K, D >::exist(), QDP::BinaryReader::fail(), QDP::BinaryReaderWriter::fail(), QDP::BinaryWriter::fail(), QDP::StandardInputStream::fail(), QDP::StandardOutputStream::fail(), QDP::TextReader::fail(), QDP::TextWriter::fail(), QDP::XMLFileWriter::fail(), QDP::BinaryStoreDB< K, D >::fileExists(), QDP::BinaryStoreDB< K, D >::get(), QDP::BinaryStoreDB< K, D >::getBinary(), QDP::BinaryReader::getChecksum(), QDP::BinaryReaderWriter::getChecksum(), QDP::BinaryWriter::getChecksum(), QDP::BinaryStoreDB< K, D >::getMaxNumberConfigs(), QDP::BinaryStoreDB< K, D >::getMaxUserInfoLen(), QDP::BinaryStoreDB< K, D >::getUserdata(), QDP::BinaryStoreDB< K, D >::insert(), QDP::BinaryStoreDB< K, D >::insertBinary(), QDP::BinaryStoreDB< K, D >::insertUserdata(), QDP::BinaryFileReader::is_open(), QDP::BinaryFileReaderWriter::is_open(), QDP::BinaryFileWriter::is_open(), QDP::TextFileReader::is_open(), QDP::TextFileWriter::is_open(), QDP::XMLFileWriter::is_open(), QDP::BinaryStoreDB< K, D >::open(), QDP::QDPType< typename UnaryReturn< T1, Op >::Type_t, typename UnaryReturn< C1, Op >::Type_t >::peekSite(), QDP::BinaryReader::read(), QDP::TextReader::read(), QDP::readArchiv(), QDP::BinaryReader::readArray(), QDP::BinaryReader::readArrayLittleEndian(), QDP::XMLReader::readAttrPrimitive(), QDP::BinaryReader::readDesc(), QDP::StandardInputStream::readPrimitive(), QDP::TextReader::readPrimitive(), QDP::XMLReader::readPrimitive(), QDP::BinaryBufferReader::str(), QDP::BinaryBufferReaderWriter::str(), QDP::BinaryBufferWriter::str(), QDP::TextBufferReader::str(), and QDP::TextBufferWriter::str().
|
inline |
Broadcast from primary node to all other nodes.
Dummy broadcast from primary node to all other nodes.
Definition at line 232 of file qdp_parscalar_specific.h.
|
inline |
Broadcast a string from primary node to all other nodes.
Dummy broadcast a string from primary node to all other nodes.
Definition at line 253 of file qdp_parscalar_specific.cc.
References broadcast(), QDP::Layout::primaryNode(), and QDP::QDP_error_exit().
Referenced by broadcast(), QDP::XMLReader::get(), QDP::BinaryStoreDB< K, D >::getUserdata(), QDP::StandardInputStream::operator>>(), QDP::XMLReader::print(), QDP::XMLReader::printCurrentContext(), and QDP::BinaryStoreDB< K, D >::storageName().
| void QDP::QDPInternal::clearToSend | ( | void * | buffer, |
| int | count, | ||
| int | node ) |
Send a clear-to-send.
Definition at line 297 of file qdp_parscalar_specific.cc.
References gridArch(), QDP::Layout::nodeNumber(), recvFromWait(), and sendToWait().
Referenced by QDP::writeOLattice(), QDP::writeOLattice(), QDP::writeOLattice(), and QDP::LatticeTimeSliceIO::writeOLatticeSlice().
|
inline |
Wrapper to get a functional global And.
Dummy global And.
Definition at line 202 of file qdp_parscalar_specific.h.
References globalCheckAnd().
Referenced by QDP::isfinite(), and QDP::isnormal().
|
inline |
|
inline |
|
inline |
Global max across all nodes.
Definition at line 164 of file qdp_parscalar_specific.h.
References globalMaxValue().
Referenced by QDP::globalMax().
|
inline |
Low level hook to QMP_max_double.
Definition at line 156 of file qdp_parscalar_specific.h.
|
inline |
Low level hook to QMP_max_double.
Definition at line 150 of file qdp_parscalar_specific.h.
Referenced by globalMax().
|
inline |
Global min across all nodes.
Definition at line 187 of file qdp_parscalar_specific.h.
References globalMinValue().
Referenced by QDP::globalMin().
|
inline |
Low level hook to QMP_min_double.
Definition at line 179 of file qdp_parscalar_specific.h.
|
inline |
Low level hook to QMP_min_float.
Definition at line 173 of file qdp_parscalar_specific.h.
Referenced by globalMin().
|
inline |
Wrapper to get a functional global Or.
Dummy global Or.
Definition at line 216 of file qdp_parscalar_specific.h.
References globalCheckOr().
Referenced by QDP::isinf(), and QDP::isnan().
|
inline |
Definition at line 140 of file qdp_parscalar_specific.h.
References QDP::QDPIO::cout.
|
inline |
Sum across all nodes.
Dummy sum across all nodes.
Definition at line 125 of file qdp_parscalar_specific.h.
References QDP::QDPIO::cout, and globalSumArray().
Referenced by QDP::innerProduct(), QDP::innerProductReal(), QDP::innerProductReal(), QDP::innerProductReal(), QDP::innerProductReal(), QDP::innerProductReal(), QDP::innerProductReal(), QDP::innerProductReal(), QDP::innerProductReal(), QDP::norm2(), QDP::norm2(), QDP::norm2(), QDP::norm2(), QDP::norm2(), QDP::norm2(), QDP::norm2(), QDP::norm2(), QDP::FlopCounter::report(), QDP::sum(), QDP::sum(), and QDP::sum().
|
inline |
Low level hook to QMP_global_sum.
Definition at line 85 of file qdp_parscalar_specific.h.
|
inline |
Low level hook to QMP_global_sum.
Definition at line 79 of file qdp_parscalar_specific.h.
|
inline |
Low level hook to QMP_global_sum.
Definition at line 72 of file qdp_parscalar_specific.h.
|
inline |
Global sum on a multi1d.
Dummy global sum on a multi1d.
Definition at line 92 of file qdp_parscalar_specific.h.
|
inline |
Global sum on a multi2d.
Dummy global sum on a multi2d.
Definition at line 108 of file qdp_parscalar_specific.h.
References QDP::QDPIO::cout, globalSumArray(), QDP::multi2d< T >::size1(), QDP::multi2d< T >::size2(), and QDP::multi2d< T >::slice().
|
inline |
Dummy array sum accross all nodes.
Definition at line 30 of file qdp_scalar_specific.h.
|
inline |
Wrapper to get a functional unsigned global sum.
Definition at line 65 of file qdp_parscalar_specific.h.
References sumAnUnsigned().
Referenced by QDP::computeChecksum(), globalSum(), globalSumArray(), QDP::innerProduct(), QDP::innerProduct(), QDP::innerProduct(), QDP::innerProduct(), QDP::innerProduct(), QDP::innerProduct(), QDP::innerProduct(), QDP::sumMulti(), and QDP::sumMulti().
| bool QDP::QDPInternal::gridArch | ( | ) |
Is this a grid architecture.
Definition at line 291 of file qdp_parscalar_specific.cc.
Referenced by clearToSend().
| void QDP::QDPInternal::recvFromWait | ( | void * | recv_buf, |
| int | srce_node, | ||
| int | count ) |
Receive from another node (wait).
Definition at line 351 of file qdp_parscalar_specific.cc.
References QDP::QDP_error_exit(), and QDP::QDP_info().
Referenced by clearToSend(), QDP::operator<<(), QDP::readArchiv(), QDP::readOLattice(), QDP::readOLattice(), QDP::readOLattice(), QDP::LatticeTimeSliceIO::readOLatticeSlice(), sendToPrimaryNode(), QDP::writeArchiv(), QDP::writeOLattice(), QDP::writeOLattice(), QDP::writeOLattice(), and QDP::LatticeTimeSliceIO::writeOLatticeSlice().
| void QDP::QDPInternal::route | ( | void * | buffer, |
| int | srce_node, | ||
| int | dest_node, | ||
| int | count ) |
Route to another node (blocking).
Definition at line 310 of file qdp_parscalar_specific.cc.
References QDP::QDP_info().
Referenced by QDP::operator<<(), QDP::readArchiv(), QDP::readOLattice(), QDP::readOLattice(), QDP::LatticeTimeSliceIO::readOLatticeSlice(), QDP::writeArchiv(), QDP::writeOLattice(), QDP::writeOLattice(), and QDP::LatticeTimeSliceIO::writeOLatticeSlice().
| void QDP::QDPInternal::sendToPrimaryNode | ( | T & | dest, |
| int | srcnode ) |
Via some mechanism, get the dest to node 0.
Ultimately, I do not want to use point-to-point
Definition at line 46 of file qdp_parscalar_specific.h.
References QDP::Layout::nodeNumber(), QDP::Layout::primaryNode(), recvFromWait(), and sendToWait().
Referenced by QDP::QDPType< typename UnaryReturn< T1, Op >::Type_t, typename UnaryReturn< C1, Op >::Type_t >::peekSite().
| void QDP::QDPInternal::sendToWait | ( | void * | send_buf, |
| int | dest_node, | ||
| int | count ) |
Send to another node (wait).
All nodes participate
Definition at line 327 of file qdp_parscalar_specific.cc.
References QDP::QDP_error_exit(), and QDP::QDP_info().
Referenced by clearToSend(), QDP::operator<<(), QDP::readArchiv(), QDP::readOLattice(), QDP::readOLattice(), QDP::readOLattice(), QDP::LatticeTimeSliceIO::readOLatticeSlice(), sendToPrimaryNode(), QDP::writeArchiv(), QDP::writeOLattice(), QDP::writeOLattice(), QDP::writeOLattice(), and QDP::LatticeTimeSliceIO::writeOLatticeSlice().
|
inline |
Unsigned accumulate.
Definition at line 59 of file qdp_parscalar_specific.h.
Referenced by globalSumArray().
| void QDP::QDPInternal::wait | ( | int | dir | ) |
Wait on send-receive.