Copyright | [2013..2018] Robert Clifton-Everest Trevor L. McDonell |
---|---|
License | BSD3 |
Maintainer | Trevor L. McDonell <tmcdonell@cse.unsw.edu.au> |
Stability | experimental |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell98 |
Documentation
A processing stream. All operations in a stream are synchronous and executed in sequence, but operations in different non-default streams may happen out-of-order or concurrently with one another.
Use Event
s to synchronise operations between streams.
setStream :: Handle -> Stream -> IO () Source #
Set the execution stream which all subsequent cuFFT library functions will execute with. This enables the activity in this execution stream (e.g. kernel launches and data transfer) to overlap with activity in other execution streams. The association remains until the plan is destroyed or the stream is changed.
If not set, functions execute in the default stream, which never overlaps with any other operation.
http://docs.nvidia.com/cuda/cufft/index.html#function-cufftsetstream