Portability | non-portable (GHC extensions) |
---|---|
Stability | experimental |
Maintainer | Martin Dybdal <dybber@dybber.dk> |
Safe Haskell | None |
OpenCL types
- type PlatformID = Ptr CPlatformID
- type DeviceID = Ptr CDeviceID
- type Context = ForeignPtr CContext
- type CommandQueue = ForeignPtr CCommandQueue
- type Program = ForeignPtr CProgram
- type Kernel = ForeignPtr CKernel
- type Event = ForeignPtr CEvent
- type Sampler = ForeignPtr CSampler
- data MemObject a
- type ClChar = CSChar
- type ClUChar = CUChar
- type ClShort = CShort
- type ClUShort = CUShort
- type ClInt = CInt
- type ClUInt = CUInt
- type ClLong = CLLong
- type ClULong = CULLong
- type ClHalf = CUShort
- type ClFloat = CFloat
- type ClDouble = CDouble
- type ClBitfield = CULLong
- data ClBool
- type ClSize = CULong
- clFalse :: ClUInt
- clTrue :: ClUInt
- toOCLBool :: Bool -> ClUInt
- data ClException = ClException ClError (Maybe String)
- data ClError
- = Success
- | DeviceNotFound
- | DeviceNotAvailable
- | CompilerNotAvailable
- | MemObjectAllocationFailure
- | OutOfResources
- | OutOfHostMemory
- | ProfilingInfoNotAvailable
- | MemCopyOverlap
- | ImageFormatMismatch
- | ImageFormatNotSupported
- | BuildProgramFailure
- | MapFailure
- | MisalignedSubBufferOffset
- | ExecStatusErrorForEventsInWaitList
- | InvalidValue
- | InvalidDeviceType
- | InvalidPlatform
- | InvalidDevice
- | InvalidContext
- | InvalidQueueProperties
- | InvalidCommandQueue
- | InvalidHostPtr
- | InvalidMemObject
- | InvalidImageFormatDescriptor
- | InvalidImageSize
- | InvalidSampler
- | InvalidBinary
- | InvalidBuildOptions
- | InvalidProgram
- | InvalidProgramExecutable
- | InvalidKernelName
- | InvalidKernelDefinition
- | InvalidKernel
- | InvalidArgIndex
- | InvalidArgValue
- | InvalidArgSize
- | InvalidKernelArgs
- | InvalidWorkDimension
- | InvalidWorkGroupSize
- | InvalidWorkItemSize
- | InvalidGlobalOffset
- | InvalidEventWaitList
- | InvalidEvent
- | InvalidOperation
- | InvalidGlObject
- | InvalidBufferSize
- | InvalidMipLevel
- | InvalidGlobalWorkSize
- | InvalidProperty
- data PlatformInfo
- data ContextProperties = ContextPlatform PlatformID
- data ContextInfo
- data DeviceType
- data DeviceInfo
- = DeviceType
- | DeviceVendorID
- | DeviceMaxComputeUnits
- | DeviceMaxWorkItemDimensions
- | DeviceMaxWorkGroupSize
- | DeviceMaxWorkItemSizes
- | DevicePreferredVectorWidthChar
- | DevicePreferredVectorWidthShort
- | DevicePreferredVectorWidthInt
- | DevicePreferredVectorWidthLong
- | DevicePreferredVectorWidthFloat
- | DevicePreferredVectorWidthDouble
- | DeviceMaxClockFrequency
- | DeviceAddressBits
- | DeviceMaxReadImageArgs
- | DeviceMaxWriteImageArgs
- | DeviceMaxMemAllocSize
- | DeviceImage2DMaxWidth
- | DeviceImage2DMaxHeight
- | DeviceImage3DMaxWidth
- | DeviceImage3DMaxHeight
- | DeviceImage3DMaxDepth
- | DeviceImageSupport
- | DeviceMaxParameterSize
- | DeviceMaxSamplers
- | DeviceMemBaseAddrAlign
- | DeviceMinDataTypeAlignSize
- | DeviceSingleFPConfig
- | DeviceGlobalMemCacheType
- | DeviceGlobalMemCachelineSize
- | DeviceGlobalMemCacheSize
- | DeviceGlobalMemSize
- | DeviceMaxConstantBufferSize
- | DeviceMaxConstantArgs
- | DeviceLocalMemType
- | DeviceLocalMemSize
- | DeviceErrorCorrectionSupport
- | DeviceProfilingTimerResolution
- | DeviceEndianLittle
- | DeviceAvailable
- | DeviceCompilerAvailable
- | DeviceExecutionCapabilities
- | DeviceQueueProperties
- | DeviceName
- | DeviceVendor
- | DriverVersion
- | DeviceProfile
- | DeviceVersion
- | DeviceExtensions
- | DevicePlatform
- | DevicePreferredVectorWidthHalf
- | DeviceHostUnifiedMemory
- | DeviceNativeVectorWidthChar
- | DeviceNativeVectorWidthShort
- | DeviceNativeVectorWidthInt
- | DeviceNativeVectorWidthLong
- | DeviceNativeVectorWidthFloat
- | DeviceNativeVectorWidthDouble
- | DeviceNativeVectorWidthHalf
- | DeviceOpenclCVersion
- data DeviceFPConfig
- = FpDenorm
- | FpInfNan
- | FpRoundToNearest
- | FpRoundToZero
- | FpRoundToInf
- | FpFma
- | FpSoftFloat
- data DeviceMemCacheType
- = None
- | ReadOnlyCache
- | ReadWriteCache
- data DeviceLocalMemType
- data DeviceExecCapabilities
- data CommandQueueProperties
- data CommandQueueInfo
- data CommandExecStatus
- data ProgramInfo
- data ProgramBuildInfo
- data KernelInfo
- data KernelWorkGroupInfo
- data EventInfo
- data CommandType
- = CommandNdrangeKernel
- | CommandTask
- | CommandNativeKernel
- | CommandReadBuffer
- | CommandWriteBuffer
- | CommandCopyBuffer
- | CommandReadImage
- | CommandWriteImage
- | CommandCopyImage
- | CommandCopyImageToBuffer
- | CommandCopyBufferToImage
- | CommandMapBuffer
- | CommandMapImage
- | CommandUnmapMemObject
- | CommandMarker
- | CommandAcquireGlObjects
- | CommandReleaseGlObjects
- | CommandReadBufferRect
- | CommandWriteBufferRect
- | CommandCopyBufferRect
- | CommandUser
- data MemFlags
- data MemInfo
- = MemType
- | MemFlags
- | MemSize
- | MemHostPtr
- | MemMapCount
- | MemReferenceCount
- | MemContext
- | MemAssociatedMemobject
- | MemOffset
- data MemObjectType
Documentation
type PlatformID = Ptr CPlatformIDSource
type Context = ForeignPtr CContextSource
type CommandQueue = ForeignPtr CCommandQueueSource
type Program = ForeignPtr CProgramSource
type Kernel = ForeignPtr CKernelSource
type Event = ForeignPtr CEventSource
type Sampler = ForeignPtr CSamplerSource
type ClBitfield = CULLongSource
data ClException Source
data PlatformInfo Source
data ContextInfo Source
data DeviceType Source
data DeviceInfo Source
data DeviceFPConfig Source
data DeviceMemCacheType Source
data DeviceLocalMemType Source
data CommandQueueInfo Source
data CommandExecStatus Source
data ProgramInfo Source
data ProgramBuildInfo Source
data KernelInfo Source
data CommandType Source