cuda: FFI binding to the CUDA interface for programming NVIDIA GPUs

[ bsd3, foreign, library, program ] [ Propose Tags ]

The CUDA library provides a direct, general purpose C-like SPMD programming model for NVIDIA graphics cards (G8x series onwards). This is a collection of bindings to allow you to call and control, although not write, such functions from Haskell-land. You will need to install the CUDA driver and developer toolkit.

http://developer.nvidia.com/cuda-downloads

The setup script will look for your CUDA installation in the standard places, and if the nvcc compiler is found in your PATH, relative to that.

This library provides bindings to both the CUDA Driver and Runtime APIs. To get started, see one of:

This release tested with versions 6.0, 6.5, 7.0, and 7.5 of the CUDA toolkit.

NOTES:

The setup script for this package requires at least Cabal-1.24. To upgrade, execute one of:

Due to an interaction between GHC-8 and unified virtual address spaces in CUDA, this package does not currently work with GHCi on ghc-8.0.1 (compiled programs should work). See the following for more details:

For additional notes on installing on Windows, see:


[Skip to Readme]
Versions [faq] 0.1, 0.2, 0.2.1, 0.2.2, 0.3.2, 0.3.2.1, 0.3.2.2, 0.4.0.0, 0.4.0.1, 0.4.0.2, 0.4.1.0, 0.4.1.1, 0.5.0.0, 0.5.0.1, 0.5.0.2, 0.5.1.0, 0.5.1.1, 0.6.0.0, 0.6.0.1, 0.6.5.0, 0.6.5.1, 0.6.6.0, 0.6.6.1, 0.6.6.2, 0.6.7.0, 0.7.0.0, 0.7.5.0, 0.7.5.1, 0.7.5.2, 0.7.5.3, 0.8.0.0, 0.8.0.1, 0.9.0.0, 0.9.0.1, 0.9.0.2, 0.9.0.3, 0.10.0.0 (info)
Change log CHANGELOG.markdown
Dependencies base (==4.*), bytestring, cuda, pretty, template-haskell [details]
License BSD-3-Clause
Copyright Copyright (c) [2009..2016]. Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
Author Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
Maintainer Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
Revised Revision 1 made by TrevorMcDonell at Fri Oct 7 08:32:03 UTC 2016
Category Foreign
Home page https://github.com/tmcdonell/cuda
Bug tracker https://github.com/tmcdonell/cuda/issues
Source repo this: git clone https://github.com/tmcdonell/cuda(tag 0.7.5.0)
Uploaded by TrevorMcDonell at Fri Oct 7 08:30:47 UTC 2016
Distributions LTSHaskell:0.10.0.0, NixOS:0.10.0.0, Stackage:0.10.0.0
Executables nvidia-device-query
Downloads 18915 total (660 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user [build log]
All reported builds failed as of 2016-10-07 [all 1 reports]

Modules

[Index]

Downloads

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


Readme for cuda-0.7.5.0

[back to package description]

Haskell FFI Bindings to CUDA

Build status

The CUDA library provides a direct, general purpose C-like SPMD programming model for NVIDIA graphics cards (G8x series onwards). This is a collection of bindings to allow you to call and control, although not write, such functions from Haskell-land. You will need to install the CUDA driver and developer toolkit.

http://developer.nvidia.com/object/cuda.html

The configure step will look for your CUDA installation in the standard places, and if the nvcc compiler is found in your PATH, relative to that.

For important information on installing on Windows, see:

https://github.com/tmcdonell/cuda/blob/master/WINDOWS.markdown