hopencl-0.2.1: Haskell bindings for OpenCL

Portabilitynon-portable (GHC extensions)
Stabilityexperimental
MaintainerMartin Dybdal <dybber@dybber.dk>
Safe HaskellNone

Foreign.OpenCL.Bindings.Platform

Description

OpenCL bindings for querying a list of available platforms and information about those platforms. See section 4.1 in the OpenCL specification

Synopsis

Documentation

getPlatformIDs :: IO [PlatformID]Source

Obtain a list of available OpenCL platforms.

platformProfile :: PlatformID -> IO StringSource

OpenCL profile string. See CL_PLATFORM_PROFILE in the OpenCL specification for full documentation.

platformVersion :: PlatformID -> IO StringSource

OpenCL version string. See CL_PLATFORM_VERSION in the OpenCL specification for full documentation.

platformName :: PlatformID -> IO StringSource

OpenCL name string

platformVendor :: PlatformID -> IO StringSource

OpenCL vendor string

platformExtensions :: PlatformID -> IO [String]Source

OpenCL extensions. Extensions defined here are supported by all devices associated with this platform.