ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/OpenCL/Changes
Revision: 1.73
Committed: Sat May 5 13:56:40 2012 UTC (12 years ago) by root
Branch: MAIN
Changes since 1.72: +2 -1 lines
Log Message:
*** empty log message ***

File Contents

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