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

Copyright(c) [2009..2012] Trevor L. McDonell
LicenseBSD
Safe HaskellNone
LanguageHaskell98

Foreign.CUDA.Driver.Stream

Contents

Description

Stream management for low-level driver interface

Synopsis

Stream Management

newtype Stream Source

A processing stream

Constructors

Stream 

Fields

useStream :: Ptr ()
 

Instances

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

destroy :: Stream -> IO () Source

Destroy a stream

finished :: Stream -> IO Bool Source

Check if all operations in the stream have completed

block :: Stream -> IO () Source

Wait until the device has completed all operations in the Stream