Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: fcb964238f
Fetching contributors…

Cannot retrieve contributors at this time

88 lines (78 sloc) 2.522 kb
Name: OpenCL
Version: 1.0.3.2
License: BSD3
License-File: LICENSE
Author: Luis Cabellos
Copyright: (c) 2011 Luis Cabellos, at The Institute of Physics of Cantabria (IFCA)
Category: GPU, FFI, Graphics
Build-Type: Simple
Stability: Experimental
Maintainer: Luis Cabellos
Homepage: https://github.com/zhensydow/opencl
Synopsis: Haskell high-level wrapper for OpenCL
bug-reports: https://github.com/zhensydow/opencl/issues
Cabal-Version: >=1.8
Tested-With: GHC
Description:
Haskell FFI binding to OpenCL library. It includes high-level wrappers to
help development. Based on the OpenCLRaw package.
.
Most of the functions can throw a 'CLError' exception. Using the module
'Control.Exception' helps to work with this package's exceptions.
Extra-source-files:
README.org
examples/example01.hs
examples/example02.hs
examples/example03.hs
examples/example04.hs
include/CL/*.h
include/CL/*.hpp
src/test/*.hs
Library
Build-tools: c2hs
hs-Source-Dirs: src
ghc-options: -Wall
Build-Depends: base >=4.0 && < 5, bytestring -any, mtl==2.0.*
Exposed-Modules:
Control.Parallel.OpenCL
Control.Parallel.OpenCL.Query
Control.Parallel.OpenCL.Context
Control.Parallel.OpenCL.CommandQueue
Control.Parallel.OpenCL.Memory
Control.Parallel.OpenCL.Event
Control.Parallel.OpenCL.Program
Other-Modules:
Control.Parallel.OpenCL.Types
if os(linux)
cpp-options: -DCALLCONV=ccall -Iinclude
Frameworks: OpenCL
-- this is needed for linking executables, but not for ghci -lOpenCL:
extra-libraries: OpenCL
if os(darwin)
cpp-options: -DCALLCONV=ccall
cc-options: "-U__BLOCKS__"
Frameworks: OpenCL
if os(windows)
cpp-options: -DCALLCONV=stdcall -Iinclude
include-dirs: include
ghc-options: -lOpenCL
ld-options: -lOpenCL
-- NOTE: extra-libraries: OpenCL seems to fail without finding library!
-- NOTE: include-dirs without -Iinclude seems to fail too with GHC 7.4.1!
Test-suite tests
type: exitcode-stdio-1.0
main-is: test-opencl.hs
hs-Source-Dirs: src/test
ghc-options: -Wall
-- Uncomment the following line to build tests on Linux or Windows:
-- extra-libraries: OpenCL
build-depends: base >=4.0 && < 5, QuickCheck==2.4.*, OpenCL
source-repository this
type: git
location: https://zhensydow@github.com/zhensydow/opencl.git
tag: 1.0.3.0
branch: master
source-repository head
type: git
location: https://zhensydow@github.com/zhensydow/opencl.git
branch: develop
Jump to Line
Something went wrong with that request. Please try again.