package parmap

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val set_default_ncores : int -> unit
val get_default_ncores : unit -> int
type !'a sequence =
  1. | L of 'a list
  2. | A of 'a array
val parmapfold : ?ncores:int -> ?chunksize:int -> ('a -> 'b) -> 'a sequence -> ('b -> 'c -> 'c) -> 'c -> ('c -> 'c -> 'c) -> 'c
val parfold : ?ncores:int -> ?chunksize:int -> ('a -> 'b -> 'b) -> 'a sequence -> 'b -> ('b -> 'b -> 'b) -> 'b
val parmap : ?ncores:int -> ?chunksize:int -> ('a -> 'b) -> 'a sequence -> 'b list
val pariter : ?ncores:int -> ?chunksize:int -> ('a -> unit) -> 'a sequence -> unit
val parmapifold : ?ncores:int -> ?chunksize:int -> (int -> 'a -> 'b) -> 'a sequence -> ('b -> 'c -> 'c) -> 'c -> ('c -> 'c -> 'c) -> 'c
val parmapi : ?ncores:int -> ?chunksize:int -> (int -> 'a -> 'b) -> 'a sequence -> 'b list
val pariteri : ?ncores:int -> ?chunksize:int -> (int -> 'a -> unit) -> 'a sequence -> unit
val array_parmap : ?ncores:int -> ?chunksize:int -> ('a -> 'b) -> 'a array -> 'b array
val array_parmapi : ?ncores:int -> ?chunksize:int -> (int -> 'a -> 'b) -> 'a array -> 'b array
exception WrongArraySize
type buf
val init_shared_buffer : float array -> buf
val array_float_parmap : ?ncores:int -> ?chunksize:int -> ?result:float array -> ?sharedbuffer:buf -> ('a -> float) -> 'a array -> float array
val array_float_parmapi : ?ncores:int -> ?chunksize:int -> ?result:float array -> ?sharedbuffer:buf -> (int -> 'a -> float) -> 'a array -> float array
val debugging : bool -> unit
val redirecting : bool -> unit
OCaml

Innovation. Community. Security.