| Copyright | [2009..2014] Trevor L. McDonell |
|---|---|
| License | BSD |
| Safe Haskell | None |
| Language | Haskell98 |
Foreign.CUDA.Driver.Stream
Contents
Description
Stream management for low-level driver interface
Stream Management
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 Events to synchronise operations between streams.
data StreamFlag Source
Possible option flags for stream initialisation. Dummy instance until the API exports actual option values.
Instances
create :: [StreamFlag] -> IO Stream Source
Create a new stream
defaultStream :: Stream Source
The main execution stream. No operations overlap with operations in the default stream.