The accelerate-cuda package

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

This backend has been deprecated in favour 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.3 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,,,,,,,,,,,,,, (info)
Dependencies accelerate (==1.0.*), array (>=0.3), base (>=4.7 && <4.9.1), binary (>=0.7), bytestring (>=0.9), containers (>=0.3), cryptohash (>=0.7), cuda (>=0.7), directory (>=1.0), fclabels (>=2.0), filepath (>=1.0), hashable (>=1.1), hashtables (>=1.0.1), language-c-quote (>=0.4.4), mainland-pretty (>=0.2), mtl (>=2.0), old-time (>=1.0), pretty (>=1.0), process (>=1.0), SafeSemaphore (>=0.9), srcloc (>=0.2), template-haskell, text (>=0.11), transformers (>=0.2), unix (>=2.4), unordered-containers (>=0.1.4), Win32 (>=2.2.1) [details]
License BSD3
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 repository head: git clone
this: git clone
Uploaded Fri Mar 31 08:14:55 UTC 2017 by TrevorMcDonell
Updated Fri Mar 31 08:17:05 UTC 2017 by TrevorMcDonell to revision 3
Distributions NixOS:
Downloads 4446 total (158 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-03-31 [all 3 reports]
Hackage Matrix CI


  • 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


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees