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

Safe HaskellNone
LanguageHaskell98

Foreign.CUDA.Cublas.Error

Synopsis

Documentation

cublasError :: String -> IO a Source

Raise a CUBLASException 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