cusparse-0.2.0.0: FFI bindings to the CUDA Sparse BLAS 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.BLAS.Sparse.Matrix.Descriptor

Description

 
Synopsis

Documentation

newtype MatrixDescriptor Source #

An opaque type used to describe the shape and properties of a matrix.

http://docs.nvidia.com/cuda/cusparse/index.html#cusparsematdescrt

Constructors

MatrixDescriptor 

Fields

data Diagonal Source #

Indicates whether the diagonal elements of the matrix are unity. The diagonal elements are always assumed to be present, but if Unit is passed to an API routine, then the routine assumes that all diagonal entries are unity and will not read or modify those entries.

http://docs.nvidia.com/cuda/cusparse/index.html#cusparsediagtypet

Constructors

NonUnit 
Unit 

data Fill Source #

Indicates whether the upper or lower part of the sparse matrix is stored.

http://docs.nvidia.com/cuda/cusparse/index.html#cusparsefillmodet

Constructors

Lower 
Upper 
Instances
Enum Fill Source # 
Instance details

Defined in Foreign.CUDA.BLAS.Sparse.Matrix.Descriptor

Methods

succ :: Fill -> Fill #

pred :: Fill -> Fill #

toEnum :: Int -> Fill #

fromEnum :: Fill -> Int #

enumFrom :: Fill -> [Fill] #

enumFromThen :: Fill -> Fill -> [Fill] #

enumFromTo :: Fill -> Fill -> [Fill] #

enumFromThenTo :: Fill -> Fill -> Fill -> [Fill] #

Eq Fill Source # 
Instance details

Defined in Foreign.CUDA.BLAS.Sparse.Matrix.Descriptor

Methods

(==) :: Fill -> Fill -> Bool #

(/=) :: Fill -> Fill -> Bool #

Show Fill Source # 
Instance details

Defined in Foreign.CUDA.BLAS.Sparse.Matrix.Descriptor

Methods

showsPrec :: Int -> Fill -> ShowS #

show :: Fill -> String #

showList :: [Fill] -> ShowS #