.. index:: pair: class; gpr::linalg::LocalExecutor .. _doxid-classgpr_1_1linalg_1_1_local_executor: class gpr::linalg::LocalExecutor ================================ .. toctree:: :hidden: enum_gpr_linalg_LocalExecutor_Grain.rst Bounded host execution of independent outputs, without MPI calls or numerical reductions. Each callback owns its output storage. Exceptions reach the calling thread after workers join, in increasing work-index order. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class LocalExecutor { public: // enums enum :ref:`Grain`; // construction :target:`LocalExecutor`(); :target:`LocalExecutor`(int concurrency); // methods int :target:`concurrency`() const; template void :target:`forEach`(std::size_t count, Operation&& operation, :ref:`Grain` grain = :ref:`Grain::Fine`) const; static bool :target:`parallelAvailable`(); };