domainslib
domainslib copied to clipboard
Parallel Programming over Domains
Thank you for this nice project, we found it quite helpful in our ongoing efforts to parallelize a fixpoint algorithm in OCaml. A quick suggestion: It might be a good...
I have written a small example to test the interaction of Chan.recv and task pools: ``` ocaml module T = Domainslib.Task module C = Domainslib.Chan let num_domains = Sys.argv.(1) |>...
Just a stupid remark about the README file. I know this is just for illustration, but choosing `fib` is could lead to questions here; maybe somewhere in the README one...
I ran intho the following issue trying to hack on the implementation. ```sh >> opam --version 2.1.5 >> opam switch create 5.0.0+trunk --repos alpha,default Installing new switch packages Switch invariant:...
An initial try at https://github.com/ocaml-multicore/domainslib/issues/119#issue-1955359445. Module named Parray rather than Array, to avoid namespace collisions - please advise if there are better practices.
Hello `Domainslib` maintainers, I'm currently using the `Domainslib` library in my OCaml project, and I wanted to use a `parallel map` function. However, I could not find such a function...
This adds parallel versions of Stdlib.Array.iter and Stdlib.Array.iteri using parallel_for
It would be useful to implement parallel versions of Stdlib.Array iterators (see https://v2.ocaml.org/api/Array.html#1_Iterators). In particular, implement `iter`, `iteri`, `map`, `map_inplace`, `mapi`, `mapi_inplace`. Related to * https://github.com/ocaml-multicore/domainslib/issues/117 * https://github.com/ocaml-multicore/domainslib/issues/37
As discussen in #33 it appears useful to have a parallel_map function over arrays. The signature would be `val parallel_map : Domainslib.Task.pool -> ('a -> 'b) -> 'a array ->...
First of all, thank you for the great library! ``` Fatal error: exception File "lib/multi_channel.ml", line 70, characters 2-8: Assertion failed Raised at Stdlib__Domain.join in file "domain.ml", line 258, characters...