cuda-0.6.6.0: FFI binding to the CUDA interface for programming NVIDIA GPUs

Copyright[2009..2014] Trevor L. McDonell
LicenseBSD
Safe HaskellNone
LanguageHaskell98

Foreign.CUDA.Runtime.Stream

Contents

Description

Stream management routines

Synopsis

Stream Management

newtype Stream Source

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.

Constructors

Stream 

Fields

useStream :: Ptr ()
 

Instances

create :: IO Stream Source

Create a new asynchronous stream

destroy :: Stream -> IO () Source

Destroy and clean up an asynchronous stream

finished :: Stream -> IO Bool Source

Determine if all operations in a stream have completed

block :: Stream -> IO () Source

Block until all operations in a Stream have been completed

defaultStream :: Stream Source

The main execution stream. No operations overlap with operations in the default stream.