annotate R/rdyncall/inst/dynports/opencl.R @ 21:40a2c4198016

- working jdc (but with memleaks, currently) - added example
author cslag
date Wed, 30 Mar 2016 23:40:52 +0200
parents 0cfcc391201f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 dynbind("OpenCL", "
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 clBuildProgram(*<_cl_program>I**<_cl_device_id>*c*p*v)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 clCreateBuffer(*<_cl_context>LJ*v*i)*<_cl_mem>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 clCreateCommandQueue(*<_cl_context>*<_cl_device_id>L*i)*<_cl_command_queue>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 clCreateContext(*jI**<_cl_device_id>*p*v*i)*<_cl_context>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 clCreateContextFromType(*jL*p*v*i)*<_cl_context>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 clCreateFromGLBuffer(*<_cl_context>LI*i)*<_cl_mem>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 clCreateFromGLRenderbuffer(*<_cl_context>LI*i)*<_cl_mem>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 clCreateFromGLTexture2D(*<_cl_context>LIiI*i)*<_cl_mem>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 clCreateFromGLTexture3D(*<_cl_context>LIiI*i)*<_cl_mem>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 clCreateImage2D(*<_cl_context>L*<_cl_image_format>JJJ*v*i)*<_cl_mem>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 clCreateImage3D(*<_cl_context>L*<_cl_image_format>JJJJJ*v*i)*<_cl_mem>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 clCreateKernel(*<_cl_program>*c*i)*<_cl_kernel>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 clCreateKernelsInProgram(*<_cl_program>I**<_cl_kernel>*I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 clCreateProgramWithBinary(*<_cl_context>I**<_cl_device_id>*J**C*i*i)*<_cl_program>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 clCreateProgramWithSource(*<_cl_context>I**c*J*i)*<_cl_program>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 clCreateSampler(*<_cl_context>III*i)*<_cl_sampler>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 clEnqueueAcquireGLObjects(*<_cl_command_queue>I**<_cl_mem>I**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 clEnqueueBarrier(*<_cl_command_queue>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 clEnqueueCopyBuffer(*<_cl_command_queue>*<_cl_mem>*<_cl_mem>JJJI**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 clEnqueueCopyBufferToImage(*<_cl_command_queue>*<_cl_mem>*<_cl_mem>J*J*JI**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 clEnqueueCopyImage(*<_cl_command_queue>*<_cl_mem>*<_cl_mem>*J*J*JI**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 clEnqueueCopyImageToBuffer(*<_cl_command_queue>*<_cl_mem>*<_cl_mem>*J*JJI**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 clEnqueueMapBuffer(*<_cl_command_queue>*<_cl_mem>ILJJI**<_cl_event>**<_cl_event>*i)*v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 clEnqueueMapImage(*<_cl_command_queue>*<_cl_mem>IL*J*J*J*JI**<_cl_event>**<_cl_event>*i)*v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 clEnqueueMarker(*<_cl_command_queue>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 clEnqueueNDRangeKernel(*<_cl_command_queue>*<_cl_kernel>I*J*J*JI**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 clEnqueueNativeKernel(*<_cl_command_queue>*p*vJI**<_cl_mem>**vI**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 clEnqueueReadBuffer(*<_cl_command_queue>*<_cl_mem>IJJ*vI**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 clEnqueueReadImage(*<_cl_command_queue>*<_cl_mem>I*J*JJJ*vI**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 clEnqueueReleaseGLObjects(*<_cl_command_queue>I**<_cl_mem>I**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34 clEnqueueTask(*<_cl_command_queue>*<_cl_kernel>I**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 clEnqueueUnmapMemObject(*<_cl_command_queue>*<_cl_mem>*vI**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36 clEnqueueWaitForEvents(*<_cl_command_queue>I**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37 clEnqueueWriteBuffer(*<_cl_command_queue>*<_cl_mem>IJJ*vI**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
38 clEnqueueWriteImage(*<_cl_command_queue>*<_cl_mem>I*J*JJJ*vI**<_cl_event>**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
39 clFinish(*<_cl_command_queue>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40 clFlush(*<_cl_command_queue>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41 clGetCommandQueueInfo(*<_cl_command_queue>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
42 clGetContextInfo(*<_cl_context>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
43 clGetDeviceIDs(*<_cl_platform_id>LI**<_cl_device_id>*I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
44 clGetDeviceInfo(*<_cl_device_id>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
45 clGetEventInfo(*<_cl_event>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
46 clGetEventProfilingInfo(*<_cl_event>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
47 clGetExtensionFunctionAddress(*c)*v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
48 clGetGLContextInfoAPPLE(*<_cl_context>*vIJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
49 clGetGLObjectInfo(*<_cl_mem>*I*I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
50 clGetGLTextureInfo(*<_cl_mem>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
51 clGetImageInfo(*<_cl_mem>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
52 clGetKernelInfo(*<_cl_kernel>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
53 clGetKernelWorkGroupInfo(*<_cl_kernel>*<_cl_device_id>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
54 clGetMemObjectInfo(*<_cl_mem>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
55 clGetPlatformIDs(I**<_cl_platform_id>*I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
56 clGetPlatformInfo(*<_cl_platform_id>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
57 clGetProgramBuildInfo(*<_cl_program>*<_cl_device_id>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
58 clGetProgramInfo(*<_cl_program>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
59 clGetSamplerInfo(*<_cl_sampler>IJ*v*J)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
60 clGetSupportedImageFormats(*<_cl_context>LII*<_cl_image_format>*I)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
61 clLogMessagesToStderrAPPLE(*c*vJ*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
62 clLogMessagesToStdoutAPPLE(*c*vJ*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
63 clLogMessagesToSystemLogAPPLE(*c*vJ*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
64 clReleaseCommandQueue(*<_cl_command_queue>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
65 clReleaseContext(*<_cl_context>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
66 clReleaseEvent(*<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
67 clReleaseKernel(*<_cl_kernel>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
68 clReleaseMemObject(*<_cl_mem>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
69 clReleaseProgram(*<_cl_program>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
70 clReleaseSampler(*<_cl_sampler>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
71 clRetainCommandQueue(*<_cl_command_queue>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
72 clRetainContext(*<_cl_context>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
73 clRetainEvent(*<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
74 clRetainKernel(*<_cl_kernel>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
75 clRetainMemObject(*<_cl_mem>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
76 clRetainProgram(*<_cl_program>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
77 clRetainSampler(*<_cl_sampler>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
78 clSetCommandQueueProperty(*<_cl_command_queue>LI*L)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
79 clSetKernelArg(*<_cl_kernel>IJ*v)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
80 clSetMemObjectDestructorAPPLE(*<_cl_mem>*p*v)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
81 clUnloadCompiler()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
82 clWaitForEvents(I**<_cl_event>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
83 ")
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
84 parseStructInfos("
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
85 _cl_image_format{II}image_channel_order image_channel_data_type ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
86 _cl_sampler{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
87 _cl_event{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
88 _cl_kernel{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
89 _cl_program{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
90 _cl_mem{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
91 _cl_command_queue{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
92 _cl_context{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
93 _cl_device_id{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
94 _cl_platform_id{};
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
95 ")
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
96 CL_A=0x10B1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
97 CL_ADDRESS_CLAMP=0x1132
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
98 CL_ADDRESS_CLAMP_TO_EDGE=0x1131
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
99 CL_ADDRESS_NONE=0x1130
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
100 CL_ADDRESS_REPEAT=0x1133
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
101 CL_API_CALL=
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
102 CL_API_ENTRY=
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
103 CL_API_SUFFIX__VERSION_1_0=
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
104 CL_ARGB=0x10B7
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
105 CL_BGRA=0x10B6
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
106 CL_BUILD_ERROR=-2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
107 CL_BUILD_IN_PROGRESS=-3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
108 CL_BUILD_NONE=-1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
109 CL_BUILD_PROGRAM_FAILURE=-11
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
110 CL_BUILD_SUCCESS=0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
111 CL_CGL_DEVICES_FOR_SUPPORTED_VIRTUAL_SCREENS_APPLE=0x10000003
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
112 CL_CGL_DEVICE_FOR_CURRENT_VIRTUAL_SCREEN_APPLE=0x10000002
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
113 CL_CHAR_BIT=8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
114 CL_CHAR_MAX=127
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
115 CL_CHAR_MIN=(-127-1)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
116 CL_COMMAND_ACQUIRE_GL_OBJECTS=0x11FF
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
117 CL_COMMAND_COPY_BUFFER=0x11F5
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
118 CL_COMMAND_COPY_BUFFER_TO_IMAGE=0x11FA
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
119 CL_COMMAND_COPY_IMAGE=0x11F8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
120 CL_COMMAND_COPY_IMAGE_TO_BUFFER=0x11F9
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
121 CL_COMMAND_MAP_BUFFER=0x11FB
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
122 CL_COMMAND_MAP_IMAGE=0x11FC
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
123 CL_COMMAND_MARKER=0x11FE
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
124 CL_COMMAND_NATIVE_KERNEL=0x11F2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
125 CL_COMMAND_NDRANGE_KERNEL=0x11F0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
126 CL_COMMAND_READ_BUFFER=0x11F3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
127 CL_COMMAND_READ_IMAGE=0x11F6
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
128 CL_COMMAND_RELEASE_GL_OBJECTS=0x1200
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
129 CL_COMMAND_TASK=0x11F1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
130 CL_COMMAND_UNMAP_MEM_OBJECT=0x11FD
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
131 CL_COMMAND_WRITE_BUFFER=0x11F4
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
132 CL_COMMAND_WRITE_IMAGE=0x11F7
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
133 CL_COMPILER_NOT_AVAILABLE=-3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
134 CL_COMPLETE=0x0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
135 CL_CONTEXT_DEVICES=0x1081
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
136 CL_CONTEXT_PLATFORM=0x1084
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
137 CL_CONTEXT_PROPERTIES=0x1082
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
138 CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE=0x10000000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
139 CL_CONTEXT_REFERENCE_COUNT=0x1080
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
140 CL_DBL_DIG=15
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
141 # CL_DBL_EPSILON=0x1.0p-52
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
142 CL_DBL_MANT_DIG=53
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
143 CL_DBL_MAX=0x1.fffffffffffffp1023
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
144 CL_DBL_MAX_10_EXP=+308
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
145 CL_DBL_MAX_EXP=+1024
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
146 CL_DBL_MIN=0x1.0p-1022
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
147 CL_DBL_MIN_10_EXP=-307
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
148 CL_DBL_MIN_EXP=-1021
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
149 CL_DBL_RADIX=2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
150 CL_DEVICE_ADDRESS_BITS=0x100D
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
151 CL_DEVICE_AVAILABLE=0x1027
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
152 CL_DEVICE_COMPILER_AVAILABLE=0x1028
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
153 CL_DEVICE_COMPILER_NOT_AVAILABLE=-3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
154 CL_DEVICE_ENDIAN_LITTLE=0x1026
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
155 CL_DEVICE_ERROR_CORRECTION_SUPPORT=0x1024
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
156 CL_DEVICE_EXECUTION_CAPABILITIES=0x1029
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
157 CL_DEVICE_EXTENSIONS=0x1030
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
158 CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE=0x101D
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
159 CL_DEVICE_GLOBAL_MEM_CACHE_SIZE=0x101E
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
160 CL_DEVICE_GLOBAL_MEM_CACHE_TYPE=0x101C
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
161 CL_DEVICE_GLOBAL_MEM_SIZE=0x101F
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
162 CL_DEVICE_IMAGE2D_MAX_HEIGHT=0x1012
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
163 CL_DEVICE_IMAGE2D_MAX_WIDTH=0x1011
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
164 CL_DEVICE_IMAGE3D_MAX_DEPTH=0x1015
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
165 CL_DEVICE_IMAGE3D_MAX_HEIGHT=0x1014
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
166 CL_DEVICE_IMAGE3D_MAX_WIDTH=0x1013
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
167 CL_DEVICE_IMAGE_SUPPORT=0x1016
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
168 CL_DEVICE_LOCAL_MEM_SIZE=0x1023
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
169 CL_DEVICE_LOCAL_MEM_TYPE=0x1022
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
170 CL_DEVICE_MAX_CLOCK_FREQUENCY=0x100C
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
171 CL_DEVICE_MAX_COMPUTE_UNITS=0x1002
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
172 CL_DEVICE_MAX_CONSTANT_ARGS=0x1021
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
173 CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE=0x1020
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
174 CL_DEVICE_MAX_MEM_ALLOC_SIZE=0x1010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
175 CL_DEVICE_MAX_PARAMETER_SIZE=0x1017
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
176 CL_DEVICE_MAX_READ_IMAGE_ARGS=0x100E
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
177 CL_DEVICE_MAX_SAMPLERS=0x1018
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
178 CL_DEVICE_MAX_WORK_GROUP_SIZE=0x1004
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
179 CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS=0x1003
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
180 CL_DEVICE_MAX_WORK_ITEM_SIZES=0x1005
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
181 CL_DEVICE_MAX_WRITE_IMAGE_ARGS=0x100F
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
182 CL_DEVICE_MEM_BASE_ADDR_ALIGN=0x1019
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
183 CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE=0x101A
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
184 CL_DEVICE_NAME=0x102B
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
185 CL_DEVICE_NOT_AVAILABLE=-2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
186 CL_DEVICE_NOT_FOUND=-1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
187 CL_DEVICE_PLATFORM=0x1031
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
188 CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR=0x1006
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
189 CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE=0x100B
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
190 CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT=0x100A
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
191 CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT=0x1008
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
192 CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG=0x1009
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
193 CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT=0x1007
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
194 CL_DEVICE_PROFILE=0x102E
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
195 CL_DEVICE_PROFILING_TIMER_RESOLUTION=0x1025
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
196 CL_DEVICE_QUEUE_PROPERTIES=0x102A
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
197 CL_DEVICE_SINGLE_FP_CONFIG=0x101B
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
198 CL_DEVICE_TYPE=0x1000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
199 CL_DEVICE_TYPE_ALL=0xFFFFFFFF
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
200 CL_DEVICE_VENDOR=0x102C
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
201 CL_DEVICE_VENDOR_ID=0x1001
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
202 CL_DEVICE_VERSION=0x102F
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
203 CL_DRIVER_VERSION=0x102D
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
204 CL_EVENT_COMMAND_EXECUTION_STATUS=0x11D3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
205 CL_EVENT_COMMAND_QUEUE=0x11D0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
206 CL_EVENT_COMMAND_TYPE=0x11D1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
207 CL_EVENT_REFERENCE_COUNT=0x11D2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
208 # CL_EXTENSION_WEAK_LINK=__attribute__((weak_import))
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
209 CL_FALSE=0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
210 CL_FILTER_LINEAR=0x1141
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
211 CL_FILTER_NEAREST=0x1140
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
212 CL_FLOAT=0x10DE
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
213 CL_FLT_DIG=6
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
214 # CL_FLT_EPSILON=0x1.0p-23f
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
215 CL_FLT_MANT_DIG=24
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
216 # CL_FLT_MAX=0x1.fffffep127f
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
217 CL_FLT_MAX_10_EXP=+38
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
218 CL_FLT_MAX_EXP=+128
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
219 # CL_FLT_MIN=0x1.0p-126f
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
220 CL_FLT_MIN_10_EXP=-37
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
221 CL_FLT_MIN_EXP=-125
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
222 CL_FLT_RADIX=2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
223 CL_GLOBAL=0x2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
224 CL_GL_MIPMAP_LEVEL=0x2005
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
225 CL_GL_OBJECT_BUFFER=0x2000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
226 CL_GL_OBJECT_RENDERBUFFER=0x2003
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
227 CL_GL_OBJECT_TEXTURE2D=0x2001
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
228 CL_GL_OBJECT_TEXTURE3D=0x2002
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
229 CL_GL_TEXTURE_TARGET=0x2004
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
230 CL_HALF_FLOAT=0x10DD
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
231 CL_IMAGE_DEPTH=0x1116
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
232 CL_IMAGE_ELEMENT_SIZE=0x1111
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
233 CL_IMAGE_FORMAT=0x1110
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
234 CL_IMAGE_FORMAT_MISMATCH=-9
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
235 CL_IMAGE_FORMAT_NOT_SUPPORTED=-10
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
236 CL_IMAGE_HEIGHT=0x1115
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
237 CL_IMAGE_ROW_PITCH=0x1112
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
238 CL_IMAGE_SLICE_PITCH=0x1113
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
239 CL_IMAGE_WIDTH=0x1114
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
240 CL_INTENSITY=0x10B8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
241 CL_INT_MAX=2147483647
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
242 CL_INT_MIN=(-2147483647-1)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
243 CL_INVALID_ARG_INDEX=-49
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
244 CL_INVALID_ARG_SIZE=-51
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
245 CL_INVALID_ARG_VALUE=-50
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
246 CL_INVALID_BINARY=-42
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
247 CL_INVALID_BUFFER_SIZE=-61
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
248 CL_INVALID_BUILD_OPTIONS=-43
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
249 CL_INVALID_COMMAND_QUEUE=-36
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
250 CL_INVALID_CONTEXT=-34
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
251 CL_INVALID_DEVICE=-33
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
252 CL_INVALID_DEVICE_TYPE=-31
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
253 CL_INVALID_EVENT=-58
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
254 CL_INVALID_EVENT_WAIT_LIST=-57
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
255 CL_INVALID_GLOBAL_OFFSET=-56
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
256 CL_INVALID_GL_CONTEXT_APPLE=-1000
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
257 CL_INVALID_GL_OBJECT=-60
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
258 CL_INVALID_HOST_PTR=-37
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
259 CL_INVALID_IMAGE_FORMAT_DESCRIPTOR=-39
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
260 CL_INVALID_IMAGE_SIZE=-40
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
261 CL_INVALID_KERNEL=-48
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
262 CL_INVALID_KERNEL_ARGS=-52
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
263 CL_INVALID_KERNEL_DEFINITION=-47
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
264 CL_INVALID_KERNEL_NAME=-46
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
265 CL_INVALID_MEM_OBJECT=-38
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
266 CL_INVALID_MIP_LEVEL=-62
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
267 CL_INVALID_OPERATION=-59
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
268 CL_INVALID_PLATFORM=-32
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
269 CL_INVALID_PROGRAM=-44
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
270 CL_INVALID_PROGRAM_EXECUTABLE=-45
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
271 CL_INVALID_QUEUE_PROPERTIES=-35
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
272 CL_INVALID_SAMPLER=-41
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
273 CL_INVALID_VALUE=-30
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
274 CL_INVALID_WORK_DIMENSION=-53
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
275 CL_INVALID_WORK_GROUP_SIZE=-54
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
276 CL_INVALID_WORK_ITEM_SIZE=-55
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
277 CL_KERNEL_COMPILE_WORK_GROUP_SIZE=0x11B1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
278 CL_KERNEL_CONTEXT=0x1193
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
279 CL_KERNEL_FUNCTION_NAME=0x1190
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
280 CL_KERNEL_LOCAL_MEM_SIZE=0x11B2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
281 CL_KERNEL_NUM_ARGS=0x1191
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
282 CL_KERNEL_PROGRAM=0x1194
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
283 CL_KERNEL_REFERENCE_COUNT=0x1192
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
284 CL_KERNEL_WORK_GROUP_SIZE=0x11B0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
285 CL_LOCAL=0x1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
286 # CL_LONG_MAX=((cl_long) 0x7FFFFFFFFFFFFFFFLL)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
287 # CL_LONG_MIN=((cl_long) -0x7FFFFFFFFFFFFFFFLL - 1LL)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
288 CL_LUMINANCE=0x10B9
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
289 CL_MAP_FAILURE=-12
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
290 CL_MEM_CONTEXT=0x1106
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
291 CL_MEM_COPY_OVERLAP=-8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
292 CL_MEM_FLAGS=0x1101
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
293 CL_MEM_HOST_PTR=0x1103
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
294 CL_MEM_MAP_COUNT=0x1104
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
295 CL_MEM_OBJECT_ALLOCATION_FAILURE=-4
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
296 CL_MEM_OBJECT_BUFFER=0x10F0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
297 CL_MEM_OBJECT_IMAGE2D=0x10F1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
298 CL_MEM_OBJECT_IMAGE3D=0x10F2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
299 CL_MEM_REFERENCE_COUNT=0x1105
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
300 CL_MEM_SIZE=0x1102
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
301 CL_MEM_TYPE=0x1100
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
302 CL_NONE=0x0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
303 CL_OUT_OF_HOST_MEMORY=-6
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
304 CL_OUT_OF_RESOURCES=-5
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
305 CL_PLATFORM_EXTENSIONS=0x0904
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
306 CL_PLATFORM_NAME=0x0902
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
307 CL_PLATFORM_PROFILE=0x0900
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
308 CL_PLATFORM_VENDOR=0x0903
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
309 CL_PLATFORM_VERSION=0x0901
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
310 CL_PROFILING_COMMAND_END=0x1283
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
311 CL_PROFILING_COMMAND_QUEUED=0x1280
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
312 CL_PROFILING_COMMAND_START=0x1282
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
313 CL_PROFILING_COMMAND_SUBMIT=0x1281
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
314 CL_PROFILING_INFO_NOT_AVAILABLE=-7
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
315 CL_PROGRAM_BINARIES=0x1166
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
316 CL_PROGRAM_BINARY_SIZES=0x1165
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
317 CL_PROGRAM_BUILD_LOG=0x1183
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
318 CL_PROGRAM_BUILD_OPTIONS=0x1182
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
319 CL_PROGRAM_BUILD_STATUS=0x1181
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
320 CL_PROGRAM_CONTEXT=0x1161
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
321 CL_PROGRAM_DEVICES=0x1163
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
322 CL_PROGRAM_NUM_DEVICES=0x1162
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
323 CL_PROGRAM_REFERENCE_COUNT=0x1160
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
324 CL_PROGRAM_SOURCE=0x1164
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
325 CL_QUEUED=0x3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
326 CL_QUEUE_CONTEXT=0x1090
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
327 CL_QUEUE_DEVICE=0x1091
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
328 CL_QUEUE_PROPERTIES=0x1093
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
329 CL_QUEUE_REFERENCE_COUNT=0x1092
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
330 CL_R=0x10B0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
331 CL_RA=0x10B3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
332 CL_READ_ONLY_CACHE=0x1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
333 CL_READ_WRITE_CACHE=0x2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
334 CL_RG=0x10B2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
335 CL_RGB=0x10B4
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
336 CL_RGBA=0x10B5
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
337 CL_RUNNING=0x1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
338 CL_SAMPLER_ADDRESSING_MODE=0x1153
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
339 CL_SAMPLER_CONTEXT=0x1151
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
340 CL_SAMPLER_FILTER_MODE=0x1154
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
341 CL_SAMPLER_NORMALIZED_COORDS=0x1152
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
342 CL_SAMPLER_REFERENCE_COUNT=0x1150
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
343 CL_SCHAR_MAX=127
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
344 CL_SCHAR_MIN=(-127-1)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
345 CL_SHRT_MAX=32767
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
346 CL_SHRT_MIN=(-32767-1)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
347 CL_SIGNED_INT16=0x10D8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
348 CL_SIGNED_INT32=0x10D9
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
349 CL_SIGNED_INT8=0x10D7
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
350 CL_SNORM_INT16=0x10D1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
351 CL_SNORM_INT8=0x10D0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
352 CL_SUBMITTED=0x2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
353 CL_SUCCESS=0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
354 CL_TRUE=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
355 CL_UCHAR_MAX=255
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
356 # CL_UINT_MAX=0xffffffffU
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
357 # CL_ULONG_MAX=((cl_ulong) 0xFFFFFFFFFFFFFFFFULL)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
358 CL_UNORM_INT16=0x10D3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
359 CL_UNORM_INT8=0x10D2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
360 CL_UNORM_INT_101010=0x10D6
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
361 CL_UNORM_SHORT_555=0x10D5
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
362 CL_UNORM_SHORT_565=0x10D4
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
363 CL_UNSIGNED_INT16=0x10DB
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
364 CL_UNSIGNED_INT32=0x10DC
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
365 CL_UNSIGNED_INT8=0x10DA
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
366 CL_USHRT_MAX=65535
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
367 CL_VERSION_1_0=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
368