The accelerate package

[Tags:bsd3, library]

This library defines an embedded language for regular, multi-dimensional array computations with multiple backends to facilitate high-performance implementations. Currently, there are two backends: (1) an interpreter that serves as a reference implementation of the intended semantics of the language and (2) a CUDA backend generating code for CUDA-capable NVIDIA GPUs.

To use the CUDA backend, you need to have CUDA version 3.x installed. The CUDA backend currently doesn't support Char and Bool arrays.

Known bugs in this version:


Versions 0.4.0,,,,,,,,,,,,,,,,,,,,
Dependencies array, base (==4.*), binary, bytestring, containers, cuda (>=0.2.2 && <0.3), directory, fclabels (>=0.9 && <1.0), filepath, ghc-prim, haskell98, language-c (==0.3.*), llvm (>=0.6.8), monads-fd, pretty, QuickCheck (==2.*), transformers (==0.2.*), unix [details]
License BSD3
Author Manuel M T Chakravarty, Gabriele Keller, Sean Lee, Trevor L. McDonell
Maintainer Manuel M T Chakravarty <>
Stability Experimental
Category Compilers/Interpreters, Concurrency, Data
Home page
Bug tracker
Source repository head: darcs get
Uploaded Wed Oct 13 04:19:32 UTC 2010 by ManuelChakravarty
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 9302 total (98 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




llvmEnable the LLVM backend (sequential)DisabledAutomatic
cudaEnable the CUDA parallel backend for NVIDIA GPUsEnabledAutomatic
pcacheEnable the persistent caching of the compiled CUDA modules (experimental)DisabledAutomatic
test-suiteExport extra test modulesDisabledAutomatic
bounds-checksEnable bounds checkingEnabledAutomatic
unsafe-checksEnable bounds checking in unsafe operationsDisabledAutomatic
internal-checksEnable internal consistency checksDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees