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