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.
NOTE: The version numbers of this package roughly align to the latest
version of the CUDA API this package is built against This means that this
package DOES NOT follow the PVP, or indeed any sensible version scheme,
because NVIDIA are A-OK introducing breaking changes in minor updates.
Combine the definition of the ‘Event’ and ‘Stream’ data types. As of
CUDA-3.1 these data structures are equivalent, and can be safely shared
between runtime and driver API calls and libraries.
Mark FFI imports of potentially long-running API functions as safe. This
allows them to be safely called from Haskell threads without blocking the
entire HEC.