1 | Revision history for Perl extension OpenCL. |
1 | Revision history for Perl extension OpenCL. |
2 | |
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 |
3 | TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clCreateProgramWithBinary.html |
7 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCompileProgram.html |
4 | TODO: CL_IMAGE_FORMAT |
8 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clLinkProgram.html |
5 | TODO: add long example |
9 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetKernelArgInfo.html (also generic accessor) |
6 | |
10 | |
|
|
11 | TODO: context (FUTURE properties, FUTURE devices, FUTURE notify) |
|
|
12 | - implement $queue->migrate_mem_objects. |
|
|
13 | - implement $ctx->program_with_built_in_kernels. |
|
|
14 | - implement $device->sub_devices. |
|
|
15 | - add most enum and bitfield symbols to the manpage, for quick reference. |
|
|
16 | |
|
|
17 | 0.99 Fri May 4 01:31:15 CEST 2012 |
|
|
18 | - OpenCL 1.1 is now effectively feature complete. |
|
|
19 | - work around a bug in the nvidia implementation, where build fails with |
|
|
20 | INVALID_BINARY if the compiler runs succesfully but ptxas fails. |
|
|
21 | - explicitly check for 0 size dimensions in nd_range_kernel, as nvidia |
|
|
22 | crashes (and OpenCL probably allows this behaviour). |
|
|
23 | - actually report clSetKernelArg errors in ("OpenCL::Kernel::setf. |
|
|
24 | - setf properly can now properly set local arguments ('z'). |
|
|
25 | - using undef to pass null memory buffers now works in set_xxx. |
|
|
26 | - release_gl_texture was missing. |
|
|
27 | - fix/improve/balance gl sharing example. |
|
|
28 | - added non-opengl sharing opengl example. |
|
|
29 | - fixed some documentation links. |
|
|
30 | - fixed a bug where enqueue operations with optional parameters at the |
|
|
31 | end not specified would crash. |
|
|
32 | - implemented clEnqueueMapBuffer/Image/UnmapMemObject, and a "mapped object" |
|
|
33 | abstraction. |
|
|
34 | - both context_from_type methods now properly pass the notify callback. |
|
|
35 | - $platform->context now properly passes CL_CONTEXT_PLATFORM again. |
|
|
36 | - implement clCreateProgramWithBinary. |
|
|
37 | - speed up object constructions by not looking up stashes. |
|
|
38 | - use libebc for fine-tuning. |
|
|
39 | - reduce codesize considerably by disabling inlining on some functions. |
|
|
40 | - speed up many method calls on objects with no subclasses. |
|
|
41 | |
|
|
42 | 0.98 Sat Apr 28 15:31:46 CEST 2012 |
|
|
43 | - INCOMPATIBLE CHANGE: $prog->build now wants an array of devices, or undef. |
|
|
44 | - INCOMPATIBLE CHANGE: $queue->enqueue_xxx methods have been renamed to just |
|
|
45 | $queue->xxx, the enqueue_ prefix has been deprecated. |
|
|
46 | - INCOMPATIBLE CHANGE: use ->set_image to set kernel args, ->image[23]d have |
|
|
47 | been deprecated. |
|
|
48 | - new $kernel->setf function to set kernel arguments in one go. |
|
|
49 | - (optional, automatic) anyevent integration. |
|
|
50 | - implement an event queue, use Async::Interrupt for communication. |
|
|
51 | - implement context notification callbacks (untested). |
|
|
52 | - provide a default context notification function that prints to stderr. |
|
|
53 | - implement event callback notifications. |
|
|
54 | - implement build program notifications. |
|
|
55 | - implement an asynchronous program build function. |
|
|
56 | - $ctx->build_program now distinguishes between wrong build invocations |
|
|
57 | and build failures. |
|
|
58 | |
|
|
59 | 0.97 Tue Apr 24 16:56:21 CEST 2012 |
|
|
60 | - created $ctx->build_program utility function. |
|
|
61 | - enqueue_acquire/release_gl_objects did not return an event object. |
|
|
62 | - OpenCL::errno did not return the correct value. |
|
|
63 | - allow undef values in event wait lists, for convenience. |
|
|
64 | - implement $program->kernels_in_program. |
|
|
65 | - add opencl 1.2 constants. |
|
|
66 | - implement $ctx->image, $ctx->gl_texture, $platform->unload_compiler, |
|
|
67 | $queue->enqueue_fill_buffer/image, all untested (opencl 1.2). |
|
|
68 | - port image2d and image3d to the opencl 1.2 API. |
|
|
69 | - port enqueue_marker/barrier to the opencl 1.2 API, and croak |
|
|
70 | if the user requests something that 1.1 cannot do when compiled |
|
|
71 | against 1.1. This slightly changes the API for enqueue_barrier, |
|
|
72 | which now checks the context it is called in. |
|
|
73 | - add ->format accessor for CL_IMAGHE_FORMAT. |
|
|
74 | - $object->id function to access internal object id. |
|
|
75 | |
|
|
76 | 0.96 Fri Apr 20 22:23:58 CEST 2012 |
|
|
77 | - ->enqueue_write_buffer actually called enqueue_read_buffer. d'oh. |
|
|
78 | - new $kernel->set_local function, to size local buffer arguments. |
|
|
79 | - use finish, not flush, in examples. |
|
|
80 | |
|
|
81 | 0.95 Thu Apr 19 21:25:32 CEST 2012 |
|
|
82 | - add lengthy opengl sharing example. |
|
|
83 | - support property lists in CreateContext* calls. |
|
|
84 | - support some opengl sharing extensions |
|
|
85 | (gl_buffer, gl_texture[23]d, gl_renderbuffer). |
|
|
86 | - support some cl_khr_gl_sharing extensions. |
|
|
87 | - add some extension constants (cl_gl.h cl_ext.h, cl_d3d10.h). |
|
|
88 | - auto-generate error codes (and include gl+d3d extensions). |
|
|
89 | |
|
|
90 | 0.92 Mon Apr 16 08:39:21 CEST 2012 |
|
|
91 | - work around some bugs in amd's opencl implementation (INVALID_HOST_PTR |
|
|
92 | when value deosn't matter). |
|
|
93 | - minor documentation fix (patch by Maik Hentsche). |
|
|
94 | |
|
|
95 | 0.91 Sun Dec 11 00:05:02 CET 2011 |
|
|
96 | - introduce $buffer_obj->sub_buffer_region method and a new class, OpenCL::BufferObj |
|
|
97 | for a subbuffer is a buffer without sub_buffer methods! |
|
|
98 | - support apple using a different location for opencl headers - untested. |
|
|
99 | - be more strict when passing event lists. |
|
|
100 | |
|
|
101 | 0.59 Tue Nov 22 11:44:32 CET 2011 |
7 | - provide $program->binaries method. |
102 | - provide $program->binaries method. |
8 | - provide $queue->enqueue_read_buffer_rect method. |
103 | - provide $queue->enqueue_read_buffer_rect method. |
9 | - provide $queue->enqueue_write_buffer_rect method. |
104 | - provide $queue->enqueue_write_buffer_rect method. |
10 | - coalesce like-typed accessor methods into the same xs function and |
105 | - coalesce like-typed accessor methods into the same xs function and |
11 | multiple ALIASes - this reduces the OpenCL codesize from 162kb to |
106 | multiple ALIASes - this reduces the OpenCL codesize from 162kb to |
… | |
… | |
28 | - allow undef or missing data scalar for image2d and image3d. |
123 | - allow undef or missing data scalar for image2d and image3d. |
29 | - fix enqueue_copy_image prototype. |
124 | - fix enqueue_copy_image prototype. |
30 | - fix formatting. |
125 | - fix formatting. |
31 | |
126 | |
32 | 0.14 Thu Nov 17 04:04:23 CET 2011 |
127 | 0.14 Thu Nov 17 04:04:23 CET 2011 |
33 | - major incompatibilities due to API cleanup, the AI should now be |
128 | - major incompatibilities due to API cleanup, the API should now be |
34 | mostly stable, if incomplete. |
129 | mostly stable, if incomplete. |
35 | - fix prerequisites. |
130 | - fix prerequisites. |
36 | - replaced all _simple functions by "full" implementations, with some |
131 | - replaced all _simple functions by "full" implementations, with some |
37 | parameters marked for future expansion - that means their API |
132 | parameters marked for future expansion - that means their API |
38 | should be stable from now on: |
133 | should be stable from now on: |