Futhark
Futhark is a small programming language designed to be compiled to efficient GPU code. It is a statically typed, data-parallel, and purely functional array language, and comes with a heavily optimising ahead-of-time compiler that generates GPU code via OpenCL. Futhark is not designed for graphics programming, but instead uses the compute power of the GPU to accelerate data-parallel array computations. The language support regular nested data-parallelism, as well as a form of imperative-style in-place modification of arrays, while still preserving the purity of the language via the use of a uniqueness type system.
Tasks
- 100 doors
- Ackermann function
- Almost prime
- Apply a callback to an array
- Arithmetic-geometric mean
- Arithmetic/Complex
- Array concatenation
- Array length
- Arrays
- Associative array/Creation
- Averages/Pythagorean means
- Averages/Root mean square
- Binary digits
- Binary search
- Boolean values
- Comments
- Conditional structures
- Count in octal
- Empty program
- Euler method
- Even or odd
- Factorial
- Fibonacci sequence
- Filter
- Function definition
- Greatest element of a list
- Hailstone sequence
- Integer sequence
- Loops/For
- MD5
- Mandelbrot set
- Matrix multiplication
- Monte Carlo methods
- QR decomposition
- Reverse a string