cublas-0.2.1.0: FFI bindings to the CUDA CUBLAS and CUSPARSE libraries

Safe HaskellNone
LanguageHaskell98

Foreign.CUDA.Cusparse.Error

Synopsis

Documentation

cusparseError :: String -> IO a Source

Raise a CUSPARSEException in the IO Monad

resultIfOk :: (Status, a) -> IO a Source

Return the results of a function on successful execution, otherwise throw an exception with an error string associated with the return code