Name: hopencl
Version: 0.2.1
Synopsis: Haskell bindings for OpenCL
Category: Foreign
Description: The bindings follows version 1.1 of the OpenCL specification.
Haddock documentation is available at
.
The following sections of the OpenCL specification are not
supported currently:
.
* Image Objects (section 5.3)
.
* Sampler Objects (section 5.5)
.
* Profiling of memory objects and kernels (section 5.12)
.
* Extensions of the OpenCL standard involving the API
.
* OpenGL and D3D related functions
.
In addition, the are not currently any Haskell
wrappers for the following functions:
.
clCreateSubBuffer, clEnqueueReadBufferRect,
clEnqueueWriteBufferRect,
clEnqueueCopyBufferRect, clEnqueueMapBuffer,
clEnqueueUnmapMemObject, clEnqueueNativeKernel
Homepage: https://github.com/merijn/hopencl
Bug-reports: https://github.com/merijn/hopencl/issues
License: BSD3
License-file: LICENSE
Author: Merijn Verstraaten (2014-present), Martin Dybdal (2011-2014)
Maintainer: Merijn Verstraaten
Copyright: Copyright (c) 2011-2014 Merijn Verstraaten, Martin Dybdal
Tested-with: GHC == 7.0.3
Build-type: Custom
Cabal-version: >= 1.10
Extra-source-files: README.md
include/cl_enums.h
include/CL/opencl.h
include/CL/cl_platform.h
include/CL/cl.h
include/CL/cl_ext.h
include/CL/cl_d3d10.h
include/CL/cl_gl.h
include/CL/cl_gl_ext.h
-- Unit tests
tests/unit/HOpenCL_Test.hs
tests/unit/Test_Util.hs
tests/unit/HOpenCL/CommandQueue_Test.hs
tests/unit/HOpenCL/MemoryObject_Test.hs
tests/unit/HOpenCL/Kernel_Test.hs
tests/unit/HOpenCL/Context_Test.hs
tests/unit/HOpenCL/Device_Test.hs
tests/unit/HOpenCL/Platform_Test.hs
tests/unit/HOpenCL/Program_Test.hs
Flag debug
Description: Enable debugging messages
Default: False
Library
Other-modules: Foreign.OpenCL.Bindings.Internal.Types
Foreign.OpenCL.Bindings.Internal.Finalizers
Foreign.OpenCL.Bindings.Internal.Error
Foreign.OpenCL.Bindings.Internal.Util
Foreign.OpenCL.Bindings.Internal.Logging
Exposed-modules: Foreign.OpenCL.Bindings
Foreign.OpenCL.Bindings.Types
Foreign.OpenCL.Bindings.Platform
Foreign.OpenCL.Bindings.Device
Foreign.OpenCL.Bindings.Context
Foreign.OpenCL.Bindings.CommandQueue
Foreign.OpenCL.Bindings.Event
Foreign.OpenCL.Bindings.MemoryObject
Foreign.OpenCL.Bindings.Program
Foreign.OpenCL.Bindings.Kernel
Foreign.OpenCL.Bindings.Synchronization
Build-depends: base >= 4 && < 5, bytestring
Build-tools: c2hs
GHC-options: -Wall -fno-warn-missing-signatures
Default-language: Haskell98
Include-dirs: include
if flag(debug)
cpp-options: "-DHOPENCL_DEBUG"
if os(windows)
cpp-options: "-DCALLCONV=stdcall"
else
cpp-options: "-DCALLCONV=ccall"
if os(darwin)
cc-options: "-U__BLOCKS__"
Frameworks: OpenCL
else
Extra-Libraries: OpenCL
Test-suite unit
Type: exitcode-stdio-1.0
hs-source-dirs: tests/unit
Main-is: HOpenCL_Test.hs
Default-language: Haskell98
GHC-options: -Wall -fno-warn-missing-signatures
Build-Depends: base >=4, QuickCheck >= 2, test-framework >= 0.4.0,
test-framework-quickcheck2, HUnit,
test-framework-hunit, hopencl
Source-repository head
type: git
location: http://github.com/merijn/hopencl