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