The cuda package

[ Tags: 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/object/cuda.html

Note that on Snow Leopard, the c2hs preprocessor is confused by the notation for Apple's Blocks extension, so to work around this:

cabal install --c2hs-option=-ccpp-4.0

[Skip to Readme]

Properties

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, 0.8.0.0 (info)
Dependencies base (>=3 && <5), bytestring, extensible-exceptions, haskell98 [details]
License BSD3
Copyright Copyright (c) [2009..2010]. 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>
Category Foreign
Uploaded Mon Jun 21 02:15:44 UTC 2010 by TrevorMcDonell
Distributions NixOS:0.8.0.0, Stackage:0.8.0.0
Downloads 9278 total (70 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-29 [all 8 reports]
Hackage Matrix CI

Modules

  • Foreign
    • Foreign.CUDA
      • Foreign.CUDA.Analysis
        • Foreign.CUDA.Analysis.Device
        • Foreign.CUDA.Analysis.Occupancy
      • Foreign.CUDA.Driver
        • Foreign.CUDA.Driver.Context
        • Foreign.CUDA.Driver.Device
        • Foreign.CUDA.Driver.Error
        • Foreign.CUDA.Driver.Event
        • Foreign.CUDA.Driver.Exec
        • Foreign.CUDA.Driver.Marshal
        • Foreign.CUDA.Driver.Module
        • Foreign.CUDA.Driver.Stream
        • Foreign.CUDA.Driver.Texture
        • Foreign.CUDA.Driver.Utils
      • Foreign.CUDA.Ptr
      • Foreign.CUDA.Runtime
        • Foreign.CUDA.Runtime.Device
        • Foreign.CUDA.Runtime.Error
        • Foreign.CUDA.Runtime.Event
        • Foreign.CUDA.Runtime.Exec
        • Foreign.CUDA.Runtime.Marshal
        • Foreign.CUDA.Runtime.Stream
        • Foreign.CUDA.Runtime.Texture
        • Foreign.CUDA.Runtime.Thread
        • Foreign.CUDA.Runtime.Utils

Flags

NameDescriptionDefaultType
emu

Use runtime device emulation (cuda >= 3.0)

DisabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for cuda-0.2

[back to package description]
Change Log
~~~~~~~~~~

0.2
 * Occupancy calculator
 * Textures

0.1
 * Initial release