cublas-0.6.0.0: FFI bindings to the CUDA BLAS library
Copyright[2014..2017] Trevor L. McDonell
LicenseBSD3
MaintainerTrevor L. McDonell <tmcdonell@cse.unsw.edu.au>
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Foreign.CUDA.BLAS.Error

Description

 
Synopsis

Documentation

cublasError :: String -> IO a Source #

Raise a CUBLASException in the IO Monad

requireSDK :: Name -> Double -> IO a Source #

A specially formatted error message

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

nothingIfOk :: Status -> IO () Source #

Throw an exception with an error string associated with an unsuccessful return code, otherwise return unit.