cufft-0.9.0.1: Haskell bindings for the CUFFT library

Copyright[2013..2018] Robert Clifton-Everest Trevor L. McDonell
LicenseBSD3
MaintainerTrevor L. McDonell <tmcdonell@cse.unsw.edu.au>
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell98

Foreign.CUDA.FFT.Error

Description

 
Synopsis

Documentation

describe :: Result -> String Source #

Describe an error code

cufftError :: String -> IO a Source #

Raise a CUFFTException in the IO Monad

resultIfOk :: (Result, 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 :: Result -> IO () Source #

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