Loading...
Searching...
No Matches
TileParallel.h File Reference
#include <algorithm>
#include <atomic>
#include <condition_variable>
#include <cstddef>
#include <exception>
#include <functional>
#include <memory>
#include <mutex>
#include <stdexcept>
#include <thread>
#include <vector>

Go to the source code of this file.

Classes

class  gpr::linalg::TilePool
class  gpr::linalg::TileBackground

Namespaces

namespace  gpr
 Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
namespace  gpr::linalg
 Dense and structured linear algebra behind the GP: Cholesky and eigen solvers, linear operators, backend selection.

Functions

std::atomic< int > & gpr::linalg::tileThreadCount () noexcept
 Number of threads one rank devotes to independent tile products.
void gpr::linalg::setTileThreads (int threads) noexcept
 Sets the tile thread count (at least one).
template<class F>
void gpr::linalg::parallelFor (long count, F &&fn)
 parallelFor(count, fn): see TilePool::run.