ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/OpenCL/Changes
Revision: 1.86
Committed: Tue Oct 22 17:25:38 2013 UTC (10 years, 6 months ago) by root
Branch: MAIN
Changes since 1.85: +3 -0 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 Revision history for Perl extension OpenCL.
2
3 TODO: some convenience methods maybe?
4 TODO: async compile/link
5 TODO: async $ctx->build_program
6
7 - (xthread) work around compile time bugs in ptw32.
8 - allow users to influence DEFINE and LIBS values.
9 - example context selection wasn't very robust in the presence
10 of multiple platforms.
11
12 1.01 Mon May 7 03:00:53 CEST 2012
13 - missing symbols are again exported with a 0 default value.
14 - do not try to use cl_d3d9.h - the d3d9 extension has been abondoned by khronos.
15
16 1.0 Sat May 5 18:43:54 CEST 2012
17 - OpenCL 1.2 is now effectively feature complete (but hardly tested).
18 - mapping a 1d image with default height now works.
19 - implement these 1.2 functions:
20 $device->sub_devices,
21 $ctx->program_with_built_in_kernels,
22 $ctx->link_program,
23 $program->compile,
24 $kernel->arg_info (and all 5 accessor methods),
25 $queue->migrate_mem_objects.
26 - implement OpenCL::context.
27 - implement $memory->destructor_callback.
28 - new methods: $mappedimage->get_row/set_row/width/height/depth/element_size.
29 - remove $kernel->set_image[23]d.
30 - add most enum and bitfield symbols to the manpage, for quick reference.
31 - default all constants to -1, instead of having them missing.
32 - try hard to get d3d definitions, when/if possible.
33 - add numerical limits and floating point constants from cl_platform.h.
34 - unify C types for accessors, for further code size decrease.
35
36 0.99 Fri May 4 01:31:15 CEST 2012
37 - OpenCL 1.1 is now effectively feature complete.
38 - work around a bug in the nvidia implementation, where build fails with
39 INVALID_BINARY if the compiler runs succesfully but ptxas fails.
40 - explicitly check for 0 size dimensions in nd_range_kernel, as nvidia
41 crashes (and OpenCL probably allows this behaviour).
42 - actually report clSetKernelArg errors in ("OpenCL::Kernel::setf.
43 - setf properly can now properly set local arguments ('z').
44 - using undef to pass null memory buffers now works in set_xxx.
45 - release_gl_texture was missing.
46 - fix/improve/balance gl sharing example.
47 - added non-opengl sharing opengl example.
48 - fixed some documentation links.
49 - fixed a bug where enqueue operations with optional parameters at the
50 end not specified would crash.
51 - implemented clEnqueueMapBuffer/Image/UnmapMemObject, and a "mapped object"
52 abstraction.
53 - both context_from_type methods now properly pass the notify callback.
54 - $platform->context now properly passes CL_CONTEXT_PLATFORM again.
55 - implement clCreateProgramWithBinary.
56 - speed up object constructions by not looking up stashes.
57 - use libebc for fine-tuning.
58 - reduce codesize considerably by disabling inlining on some functions.
59 - speed up many method calls on objects with no subclasses.
60
61 0.98 Sat Apr 28 15:31:46 CEST 2012
62 - INCOMPATIBLE CHANGE: $prog->build now wants an array of devices, or undef.
63 - INCOMPATIBLE CHANGE: $queue->enqueue_xxx methods have been renamed to just
64 $queue->xxx, the enqueue_ prefix has been deprecated.
65 - INCOMPATIBLE CHANGE: use ->set_image to set kernel args, ->image[23]d have
66 been deprecated.
67 - new $kernel->setf function to set kernel arguments in one go.
68 - (optional, automatic) anyevent integration.
69 - implement an event queue, use Async::Interrupt for communication.
70 - implement context notification callbacks (untested).
71 - provide a default context notification function that prints to stderr.
72 - implement event callback notifications.
73 - implement build program notifications.
74 - implement an asynchronous program build function.
75 - $ctx->build_program now distinguishes between wrong build invocations
76 and build failures.
77
78 0.97 Tue Apr 24 16:56:21 CEST 2012
79 - created $ctx->build_program utility function.
80 - enqueue_acquire/release_gl_objects did not return an event object.
81 - OpenCL::errno did not return the correct value.
82 - allow undef values in event wait lists, for convenience.
83 - implement $program->kernels_in_program.
84 - add opencl 1.2 constants.
85 - implement $ctx->image, $ctx->gl_texture, $platform->unload_compiler,
86 $queue->enqueue_fill_buffer/image, all untested (opencl 1.2).
87 - port image2d and image3d to the opencl 1.2 API.
88 - port enqueue_marker/barrier to the opencl 1.2 API, and croak
89 if the user requests something that 1.1 cannot do when compiled
90 against 1.1. This slightly changes the API for enqueue_barrier,
91 which now checks the context it is called in.
92 - add ->format accessor for CL_IMAGHE_FORMAT.
93 - $object->id function to access internal object id.
94
95 0.96 Fri Apr 20 22:23:58 CEST 2012
96 - ->enqueue_write_buffer actually called enqueue_read_buffer. d'oh.
97 - new $kernel->set_local function, to size local buffer arguments.
98 - use finish, not flush, in examples.
99
100 0.95 Thu Apr 19 21:25:32 CEST 2012
101 - add lengthy opengl sharing example.
102 - support property lists in CreateContext* calls.
103 - support some opengl sharing extensions
104 (gl_buffer, gl_texture[23]d, gl_renderbuffer).
105 - support some cl_khr_gl_sharing extensions.
106 - add some extension constants (cl_gl.h cl_ext.h, cl_d3d10.h).
107 - auto-generate error codes (and include gl+d3d extensions).
108
109 0.92 Mon Apr 16 08:39:21 CEST 2012
110 - work around some bugs in amd's opencl implementation (INVALID_HOST_PTR
111 when value deosn't matter).
112 - minor documentation fix (patch by Maik Hentsche).
113
114 0.91 Sun Dec 11 00:05:02 CET 2011
115 - introduce $buffer_obj->sub_buffer_region method and a new class, OpenCL::BufferObj
116 for a subbuffer is a buffer without sub_buffer methods!
117 - support apple using a different location for opencl headers - untested.
118 - be more strict when passing event lists.
119
120 0.59 Tue Nov 22 11:44:32 CET 2011
121 - provide $program->binaries method.
122 - provide $queue->enqueue_read_buffer_rect method.
123 - provide $queue->enqueue_write_buffer_rect method.
124 - coalesce like-typed accessor methods into the same xs function and
125 multiple ALIASes - this reduces the OpenCL codesize from 162kb to
126 132kb on my system.
127 - minor doc improvements.
128
129 0.55 Sun Nov 20 11:19:25 CET 2011
130 - semi-automatically generate query methods for almost all clGet*Info names.
131 - provide cl_ext.h constants.
132 - provide OpenCL::Image->image_info method.
133 - provide OpenCL::Event->profiling_info method.
134 - provide OpenCL::Kernel->work_group_info method.
135
136 0.15 Thu Nov 17 07:22:11 CET 2011
137 - include slice_pitch in enqueue_write_image (can be 0).
138 - check length in enqueue_write_image.
139 - properly calculate size in enqueue_read_image.
140 - likewise, include row_pitch and slice_pitch in image2d and image3d,
141 which must be nonzero right now, too, sorry.
142 - allow undef or missing data scalar for image2d and image3d.
143 - fix enqueue_copy_image prototype.
144 - fix formatting.
145
146 0.14 Thu Nov 17 04:04:23 CET 2011
147 - major incompatibilities due to API cleanup, the API should now be
148 mostly stable, if incomplete.
149 - fix prerequisites.
150 - replaced all _simple functions by "full" implementations, with some
151 parameters marked for future expansion - that means their API
152 should be stable from now on:
153 OpenCL::context_from_type_simple => OpenCL::context_from_type
154 $platform->context_from_type_simple => $platform->context_from_type
155 $dev->context_simple => $platform->context
156 $ctx->command_queue_simple became => $ctx->queue
157 - add OpenCL::context function.
158 - officially require C99.
159 - errno value is unspecified after a successful call.
160
161 0.03 Wed Nov 16 01:44:26 CET 2011
162 - add some reference documentation for all functions.
163 - add user event support.
164 - implement event wait lists.
165
166 0.02 Tue Nov 15 22:15:47 CET 2011
167 - first opencl kernel executed, some example code.
168
169 0.01 Tue Nov 15 05:59:00 CET 2011
170 - cloned from Convert::Scalar.
171