HsOpenCL-0.0.1: A binding to the OpenCL parallel computing framework.

System.HsOpenCL.Platform

Contents

Synopsis

Platforms

data PlatformID

Instances

Devices

data DeviceID

An OpenCL device, such as a GPU or CPU.

Instances

Contexts

data Context

setNotifier :: MonadIO m => Notifier -> m ()

Set an action to be run when an error occurs in a context.

The default is for no action to be run.

type Notifier

Arguments

 = String

An error string.

-> ByteString

Binary data which can be used to log additional information (implementation-dependent).

-> IO () 

Device properties

type Size = Word64