cusolver-0.1.0.1: 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.Sparse.Context

Contents

Description

 

Synopsis

Context management

newtype Handle Source #

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

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

Constructors

Handle 

Fields

create :: IO Handle Source #

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

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

destroy :: Handle -> IO () Source #

This function releases resources used by the cuSolverSP library.

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