#include "OracleBatch.h"#include <algorithm>#include <chrono>#include <cstdint>#include <cstring>#include <limits>#include <stdexcept>Go to the source code of this file.
Namespaces | |
| namespace | pot |
| Potential wrappers and the batched oracle interface. | |
Functions | |
| OracleBatchComm | pot::oracleBatchWorld () noexcept |
| The communicator of the whole run, or the no-MPI placeholder. | |
| int | pot::oracleBatchOwner (Eigen::Index point, Eigen::Index count, const OracleBatchLayout &layout) noexcept |
Owner rank of one point of a batch of count points. | |
| std::vector< std::vector< Eigen::Index > > | pot::ownedOracleGroups (Eigen::Index count, const OracleBatchLayout &layout) |
| The groups this rank evaluates, each one batch call, in point order. | |
| OracleBatchOutcome | pot::agreeOracleBatchStatus (OracleBatchStatus local_status, const std::string &local_message, const OracleBatchLayout &layout) |
| void | pot::allreduceOwnedOracleValues (std::vector< double > &energies, Eigen::MatrixXd &gradients, const OracleBatchLayout &layout, double *communication_seconds) |
| void | pot::allreduceOwnedOracleMask (std::vector< char > &accepted, const OracleBatchLayout &layout) |