Safe Haskell | None |
---|---|
Language | Haskell98 |
- describe :: Status -> String
- data CUBLASException
- cublasError :: String -> IO a
- resultIfOk :: (Status, a) -> IO a
Documentation
data CUBLASException Source
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