cusolver-0.2.0.0: FFI bindings to CUDA Solver, a LAPACK-like library

Copyright[2017] Trevor L. McDonell
LicenseBSD3
MaintainerTrevor L. McDonell <tmcdonell@cse.unsw.edu.au>
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Foreign.CUDA.Solver.Dense

Contents

Description

The cuSolver library provides useful LAPACK-like features implemented on NVIDIA GPUs. This module implements a subset of LAPACK functions on dense matrices.

To use operations from the cuSolver library, the user must allocate the required vectors and matrices in the GPU memory space, fill them with data, call the desired sequence of cuSolver functions, then copy the results from the GPU memory space back to the host.

The cuda package can be used for writing to and retrieving data from the GPU.

Example

TODO

Additional information

For more information, see the NVIDIA cuSolver documentation:

http://docs.nvidia.com/cuda/cusolver/index.html

Synopsis

Control

newtype Handle Source #

An opaque handle to the cuSolverDN context, which is passed to all library function calls.

http://docs.nvidia.com/cuda/cusolver/index.html#cuSolverDNhandle

Constructors

Handle (Ptr ()) 

create :: IO Handle Source #

This function initializes the cuSolverDN library and creates a handle to the cuSolverDN context. It must be called before any other cuSolverDN API function is invoked. It allocates hardware resources necessary for accessing the GPU.

http://docs.nvidia.com/cuda/cusolver/index.html#cuSolverDNcreate

destroy :: Handle -> IO () Source #

This function releases resources used by the cuSolverDN library.

http://docs.nvidia.com/cuda/cusolver/index.html#cuSolverDNdestroy

Operations