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

Safe HaskellNone

Foreign.CUDA.Cublas.Error

Synopsis

Documentation

cublasError :: String -> IO aSource

Raise a CUBLASException in the IO Monad

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

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