Main libraries

lib/github.com/diku-dk/pickle/pickle

This module contains picklers for primitive Futhark values, as well as combinators for creating array- and tuple-picklers. It can be used directly, or as a building block for application-specific picklers. Trying to unpickle an invalid byte sequence may crash the program.

Supporting libraries

futlib/array

Utility functions for arrays.

futlib/functional

Simple functional combinators.

futlib/math

Basic mathematical modules and functions.

futlib/prelude

The default prelude that is implicitly available in all Futhark files.

futlib/soacs

Various Second-Order Array Combinators that are operationally parallel in a way that can be exploited by the compiler.

futlib/zip

Transforming arrays of tuples into tuples of arrays and back again. These are generally very cheap operations, as the internal compiler representation is always tuples of arrays.