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

System.HsOpenCL.Kernel

Contents

Synopsis

Kernels

data Kernel

Running kernels

runKernel :: (NDRange d, KernelFunc f) => Kernel -> d -> Maybe d -> f

class NDRange d

Instances

NDRange Int 
NDRange () 
NDRange CSize 
Integral a => NDRange (a, a) 
Integral a => NDRange (a, a, a) 

class KernelFunc f

Instances

KernelArg instances

newtype Scalar a

A scalar argument, such as float x.

Constructors

Scalar a 

Instances

newtype Local a

A specification of a variable which is allocated in local memory and shared by all work-items of a work-group. For example: __local float *x.

Constructors

Local Int 

Instances

Queries

Work group queries