"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.
We 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.
Futhark is not intended to replace your existing languages.
Our intended use case is that Futhark is only used for relatively small
but compute-intensive parts of an application. The Futhark compiler
generates code that can be easily integrated with non-Futhark code. For example, you can compile a Futhark program to a Python module that internally uses PyOpenCL to execute code on the GPU, yet looks like any other Python module from the outside (more on this here). The Futhark compiler will also generate more conventional C code, which can be accessed from any language with a basic FFI."
http://futhark-lang.org/
https://github.com/diku-dk/futhark/
https://github.com/HIPERFIT/futhark
APL on GPUs: A TAIL from the Past, Scribbled in Futhark - http://hgpu.org/?p=16592
https://github.com/HIPERFIT/futhark-fhpc16
https://github.com/melsman/apltail/
Purely Functional GPU Programming with Futhark - https://fosdem.org/2017/schedule/event/functional_gpu_futhark/
Design and Implementation of the Futhark Programming Language - https://hgpu.org/?p=17903
No comments:
Post a Comment