summaryrefslogtreecommitdiffstats
path: root/resources/OpenCL.cfg
blob: 9ac199c160cc3bdc0830e30e077638673bedf3ac (plain)
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
Package com.mbien.opencl

Style InterfaceAndImpl

#imports for all generated java files
Import com.mbien.opencl.*
Import java.nio.*

ClassJavadoc CL /**
ClassJavadoc CL  * Java bindings to OpenCL, the Open Computing Language.
ClassJavadoc CL  * @autor Michael Bien
ClassJavadoc CL  */
JavaClass CL

JavaOutputDir   gensrc/java
NativeOutputDir gensrc/native

#map pointers to long as internal representation
Opaque long cl_context
Opaque long cl_device_type
Opaque long cl_command_queue
Opaque long cl_mem
Opaque long cl_program
Opaque long cl_kernel
Opaque long cl_event
Opaque long cl_sampler

# TODO doublecheck if not int
Opaque long cl_platform_id
Opaque long cl_device_id

#append to generated c files
CustomCCode #include <cl.h>
CustomCCode #include <gl3.h>
CustomCCode #include <inttypes.h>