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