Irregular segmented operations implemented in Futhark
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/github.com/diku-dk/segmented
.gitignore
.travis.yml
README.md
futhark.pkg

README.md

Segmented Operations in Futhark Build Status 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