blob: 16b2017d37d06cce2657426c379e2f62cc14969c (
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
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
|
JavaOutputDir gensrc/java
NativeOutputDir gensrc/native
Package com.mbien.opencl
#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
ArgumentIsString clCreateProgramWithSource 2
ArgumentIsString clBuildProgram 3
ArgumentIsString clCreateKernel 1
#common ignore
Ignore clGetExtensionFunctionAddress
Ignore CL_UINT_MAX
Ignore CL_LONG_MAX
Ignore CL_LONG_MIN
Ignore CL_ULONG_MAX
#enforce client side "good behavior" by generating direct-memory-only bindings for
#performance critical functions.
#NioDirectOnly __ALL__
NioDirectOnly clEnqueueBarrier
NioDirectOnly clEnqueueMarker
NioDirectOnly clEnqueueNativeKernel
NioDirectOnly clEnqueueUnmapMemObject
NioDirectOnly clEnqueueWaitForEvents
NioDirectOnly clEnqueueWriteImage
NioDirectOnly clEnqueueReadBuffer
NioDirectOnly clEnqueueWriteBuffer
NioDirectOnly clEnqueueReadImage
NioDirectOnly clEnqueueWriteImage
NioDirectOnly clEnqueueCopyImage
NioDirectOnly clEnqueueCopyImageToBuffer
NioDirectOnly clEnqueueCopyBufferToImage
NioDirectOnly clEnqueueMapBuffer
NioDirectOnly clEnqueueMapImage
NioDirectOnly clEnqueueUnmapMemObject
NioDirectOnly clEnqueueNDRangeKernel
NioDirectOnly clEnqueueTask
NioDirectOnly clEnqueueNativeKernel
NioDirectOnly clEnqueueMarker
NioDirectOnly clEnqueueWaitForEvents
NioDirectOnly clEnqueueBarrier
NioDirectOnly clEnqueueAcquireGLObjects
NioDirectOnly clEnqueueReleaseGLObjects
#common rename emitted struct accessors
#struct cl_image_format
RenameJavaType cl_image_format CLImageFormat
#struct fields ([set|get]+FieldName())
RenameJavaMethod image_channel_order imageChannelOrder
RenameJavaMethod image_channel_data_type imageChannelDataType
ClassJavadoc CLImageFormat /**
ClassJavadoc CLImageFormat * Struct accessor for cl_image_format.
ClassJavadoc CLImageFormat * @author Michael Bien
ClassJavadoc CLImageFormat */
# Pick up on-line OpenCL doc and link it with the javadoc
TagNativeBinding true
|