accelerate-cuda: Accelerate backend for NVIDIA GPUs

[ bsd3, compilers-interpreters, concurrency, data, deprecated, library, parallelism ] [ Propose Tags ]
Deprecated. in favor of accelerate-llvm-ptx

This library implements a backend for the Accelerate language instrumented for parallel execution on CUDA-capable NVIDIA GPUs. For further information, refer to the main Accelerate package:

To use this backend you will need:

  1. A CUDA-enabled NVIDIA GPU with, for full functionality, compute capability 1.2 or greater. See the table on Wikipedia for supported GPUs:

  2. The CUDA SDK, available from the NVIDIA Developer Zone:

See the Haddock documentation for additional information related to using this backend.

Compile modules that use the CUDA backend with the -threaded flag.

Versions [faq],,,,,,,,,,,,,, (info)
Dependencies accelerate (==0.14.*), array (>=0.3), base (==4.6.*), binary (>=0.5 && <0.7), bytestring (>=0.9 && <0.11), cryptohash (>=0.7 && <0.12), cuda (>= && <0.6), directory (>=1.0), fclabels (==2.0.*), filepath (>=1.0), hashable (>=1.1 && <1.3), hashtables (>=1.0.1 && <1.2), language-c-quote (>=0.4.4 && <0.8), mainland-pretty (==0.2.*), mtl (>=2.0 && <2.2), old-time (>=1.0), pretty (>=1.0), process (>=1.0), SafeSemaphore (==0.9.*), srcloc (>=0.2 && <0.5), template-haskell (>=2.2), text (==0.11.*), transformers (>=0.2 && <0.4), unix (>=2.4), unordered-containers (>=0.1.4 && <0.3), Win32 (>=2.2.1) [details]
License BSD-3-Clause
Author Manuel M T Chakravarty, Robert Clifton-Everest, Gabriele Keller, Sean Lee, Trevor L. McDonell
Maintainer Trevor L. McDonell <>
Category Compilers/Interpreters, Concurrency, Data, Parallelism
Home page
Bug tracker
Source repo head: git clone
Uploaded by TrevorMcDonell at Tue Nov 19 09:23:42 UTC 2013
Distributions NixOS:
Downloads 8274 total (85 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-12-19 [all 9 reports]


  • Data
    • Array
      • Accelerate
        • Data.Array.Accelerate.CUDA
          • Data.Array.Accelerate.CUDA.Foreign



Enable tracing message flags. These are read from the command-line arguments, which is convenient but may cause problems interacting with the user program, so is not enabled by default. The available options:

  • -ddump-cc: print the generated code, kernel table management information, nvcc compiler warnings, and thread & resource statistics

  • -ddebug-cc: compile code with debugging symbols, suitable for cuda-gdb

  • -ddump-exec: print each kernel name as it is invoked

  • -ddump-gc: print memory management information

  • -dverbose: other, uncategorised messages

  • -fflush-cache: delete the persistent kernel cache


Enable bounds checking


Enable bounds checking in unsafe operations


Enable internal consistency checks


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