The cuda package
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.
The setup script will look for your CUDA installation by checking, in the following order:
CUDA_PATH_Vx_yenvironment variable, for recent CUDA toolkit versions x.y
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.
The setup script for this package requires at least Cabal-1.22. To upgrade, execute one of:
cabal install Cabal --constraint="Cabal >= 1.22"
stack setup --upgrade-cabal
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:
The bug should be fixed in ghc-8.0.2 and beyond.
For additional notes on installing on Windows, see:
[Skip to Readme]
|Versions||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 (info)|
|Dependencies||base (==4.*), bytestring, cuda, pretty, template-haskell [details]|
|Copyright||Copyright (c) [2009..2016]. Trevor L. McDonell <email@example.com>|
|Author||Trevor L. McDonell <firstname.lastname@example.org>|
|Maintainer||Trevor L. McDonell <email@example.com>|
|Source repository||this: git clone https://github.com/tmcdonell/cuda(tag 0.7.5.3)|
|Uploaded||Thu Mar 23 12:04:18 UTC 2017 by TrevorMcDonell|
|Downloads||9051 total (108 in the last 30 days)|
|Status||Docs uploaded by user [build log]
All reported builds failed as of 2017-03-23 [all 1 reports]
Hackage Matrix CI
For package maintainers and hackage trustees