Skip to content

Irregular segmented operations implemented in Futhark

License

Notifications You must be signed in to change notification settings

diku-dk/segmented

Repository files navigation

Segmented Operations in Futhark CI Documentation

A library for perfoming irregular segmented operations in Futhark. For regular segments, just use map.

Installation

$ futhark pkg add github.com/diku-dk/segmented
$ futhark pkg sync

Usage

> import "lib/github.com/diku-dk/segmented/segmented"
> segmented_reduce (+) 0 [true,false,false,true,false] (iota 5)
[3i32, 7i32]

See also

About

Irregular segmented operations implemented in Futhark

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •