blob: 768ebe9f15a4765401261ef6da39efb50e2c4240 (
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
|
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
Opaque long cl_platform_id
Opaque long cl_device_id
#append to generated c files
CustomCCode #include <cl.h>
CustomCCode #include <inttypes.h>
|