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

Copyright(c) [2009..2012] 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

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 (0)