dph-prim-par-0.7.0.1: Data Parallel Haskell segmented arrays. (production version)

Safe HaskellNone

Data.Array.Parallel.Unlifted.Distributed.Data.USSegd.Base

Description

Distribution of Segment Descriptors

Synopsis

Documentation

lengthD :: Dist USSegd -> Dist IntSource

O(1). Yield the overall number of segments.

takeLengthsD :: Dist USSegd -> Dist (Vector Int)Source

O(1). Yield the lengths of the individual segments.

takeIndicesD :: Dist USSegd -> Dist (Vector Int)Source

O(1). Yield the segment indices.

takeElementsD :: Dist USSegd -> Dist IntSource

O(1). Yield the number of data elements.

takeStartsD :: Dist USSegd -> Dist (Vector Int)Source

O(1). Yield the starting indices.

takeSourcesD :: Dist USSegd -> Dist (Vector Int)Source

O(1). Yield the source ids

takeUSegdD :: Dist USSegd -> Dist USegdSource

O(1). Yield the USegd