cusolver-0.3.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.Context

Description

 
Synopsis

Context management

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 

Fields

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