@hackage / meta-par

Provides the monad-par interface, but based on modular scheduler "mix-ins".

Latest0.3

About

Metadata

  • Last updated , by RyanNewton
  • License BSD-3-Clause
  • Categories Parallelism, Monads
  • Maintained by: Adam Foltzer <acfoltzer@gmail.com>

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    affinity (off by default)

    Turn on pinning to CPUs via pthread/linux scheduler calls.

Readme

This library provides a composable abstraction for Resources which can be mixed and matched to build Schedulers. A Resource typically corresponds to a specific kind of hardware or to a style of scheduling. This package contains implementations of basic Resources that implement parallel scheduling on the CPU. To use a complete meta-par Scheduler, import Control.Monad.Par.SMP for example, which will provide a runPar as well as instances for the relevant classes that enable Par programming (e.g. ParFuture).