-
Notifications
You must be signed in to change notification settings - Fork 9
/
hopencl.cabal
120 lines (104 loc) · 4.54 KB
/
hopencl.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
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 <http://projects.haskell.org/hopencl/>
.
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/HIPERFIT/hopencl
Bug-reports: https://github.com/HIPERFIT/hopencl/issues
License: BSD3
License-file: LICENSE
Author: Martin Dybdal <dybber@dybber.dk>
Maintainer: Martin Dybdal <dybber@dybber.dk>
Copyright: Copyright (c) 2011. Martin Dybdal, HIPERFIT research center, University of Copenhagen
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: True
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/HIPERFIT/hopencl