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/clEnqueueReadBufferRect.html |
|
|
4 | TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueWriteBufferRect.html |
|
|
5 | TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clCreateProgramWithBinary.html |
3 | TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clCreateProgramWithBinary.html |
6 | TODO: sometimes, glGet*Info returns strings with 0-bytes |
4 | TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clSetMemObjectDestructorCallback.html, *pfn |
7 | TODO: CL_IMAGE_FORMAT |
5 | TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueUnmapMemObject.html |
8 | TODO: combine sources for glGet* wrappers that are identical. |
6 | TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueMapBuffer.html |
9 | TODO: add long example |
7 | TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueMapImage.html |
|
|
8 | TODO: some convenience methods maybe? |
|
|
9 | TODO: OpenCL::context |
|
|
10 | TODO: async $cty->build |
|
|
11 | TODO: remove set_image23d |
|
|
12 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCompileProgram.html |
|
|
13 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clLinkProgram.html |
|
|
14 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateProgramWithBuiltInKernels.html |
|
|
15 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateSubDevices.html |
|
|
16 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueMigrateMemObjects.html |
|
|
17 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetKernelArgInfo.html (also generic accessor) |
10 | |
18 | |
|
|
19 | TODO: map_buffer -a autocalculate size |
|
|
20 | TODO: map_image - autocalculate size |
|
|
21 | TODO: ptr-> really same as $maped+0? |
|
|
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 | |
|
|
36 | 0.98 Sat Apr 28 15:31:46 CEST 2012 |
|
|
37 | - INCOMPATIBLE CHANGE: $prog->build now wants an array of devices, or undef. |
|
|
38 | - INCOMPATIBLE CHANGE: $queue->enqueue_xxx methods have been renamed to just |
|
|
39 | $queue->xxx, the enqueue_ prefix has been deprecated. |
|
|
40 | - INCOMPATIBLE CHANGE: use ->set_image to set kernel args, ->image[23]d have |
|
|
41 | been deprecated. |
|
|
42 | - new $kernel->setf function to set kernel arguments in one go. |
|
|
43 | - (optional, automatic) anyevent integration. |
|
|
44 | - implement an event queue, use Async::Interrupt for communication. |
|
|
45 | - implement context notification callbacks (untested). |
|
|
46 | - provide a default context notification function that prints to stderr. |
|
|
47 | - implement event callback notifications. |
|
|
48 | - implement build program notifications. |
|
|
49 | - implement an asynchronous program build function. |
|
|
50 | - $ctx->build_program now distinguishes between wrong build invocations |
|
|
51 | and build failures. |
|
|
52 | |
|
|
53 | 0.97 Tue Apr 24 16:56:21 CEST 2012 |
|
|
54 | - created $ctx->build_program utility function. |
|
|
55 | - enqueue_acquire/release_gl_objects did not return an event object. |
|
|
56 | - OpenCL::errno did not return the correct value. |
|
|
57 | - allow undef values in event wait lists, for convenience. |
|
|
58 | - implement $program->kernels_in_program. |
|
|
59 | - add opencl 1.2 constants. |
|
|
60 | - implement $ctx->image, $ctx->gl_texture, $platform->unload_compiler, |
|
|
61 | $queue->enqueue_fill_buffer/image, all untested (opencl 1.2). |
|
|
62 | - port image2d and image3d to the opencl 1.2 API. |
|
|
63 | - port enqueue_marker/barrier to the opencl 1.2 API, and croak |
|
|
64 | if the user requests something that 1.1 cannot do when compiled |
|
|
65 | against 1.1. This slightly changes the API for enqueue_barrier, |
|
|
66 | which now checks the context it is called in. |
|
|
67 | - add ->format accessor for CL_IMAGHE_FORMAT. |
|
|
68 | - $object->id function to access internal object id. |
|
|
69 | |
|
|
70 | 0.96 Fri Apr 20 22:23:58 CEST 2012 |
|
|
71 | - ->enqueue_write_buffer actually called enqueue_read_buffer. d'oh. |
|
|
72 | - new $kernel->set_local function, to size local buffer arguments. |
|
|
73 | - use finish, not flush, in examples. |
|
|
74 | |
|
|
75 | 0.95 Thu Apr 19 21:25:32 CEST 2012 |
|
|
76 | - add lengthy opengl sharing example. |
|
|
77 | - support property lists in CreateContext* calls. |
|
|
78 | - support some opengl sharing extensions |
|
|
79 | (gl_buffer, gl_texture[23]d, gl_renderbuffer). |
|
|
80 | - support some cl_khr_gl_sharing extensions. |
|
|
81 | - add some extension constants (cl_gl.h cl_ext.h, cl_d3d10.h). |
|
|
82 | - auto-generate error codes (and include gl+d3d extensions). |
|
|
83 | |
|
|
84 | 0.92 Mon Apr 16 08:39:21 CEST 2012 |
|
|
85 | - work around some bugs in amd's opencl implementation (INVALID_HOST_PTR |
|
|
86 | when value deosn't matter). |
|
|
87 | - minor documentation fix (patch by Maik Hentsche). |
|
|
88 | |
|
|
89 | 0.91 Sun Dec 11 00:05:02 CET 2011 |
|
|
90 | - introduce $buffer_obj->sub_buffer_region method and a new class, OpenCL::BufferObj |
|
|
91 | for a subbuffer is a buffer without sub_buffer methods! |
|
|
92 | - support apple using a different location for opencl headers - untested. |
|
|
93 | - be more strict when passing event lists. |
|
|
94 | |
|
|
95 | 0.59 Tue Nov 22 11:44:32 CET 2011 |
11 | - added $program->binaries method. |
96 | - provide $program->binaries method. |
|
|
97 | - provide $queue->enqueue_read_buffer_rect method. |
|
|
98 | - provide $queue->enqueue_write_buffer_rect method. |
|
|
99 | - coalesce like-typed accessor methods into the same xs function and |
|
|
100 | multiple ALIASes - this reduces the OpenCL codesize from 162kb to |
|
|
101 | 132kb on my system. |
12 | - minor doc improvements. |
102 | - minor doc improvements. |
13 | |
103 | |
14 | 0.55 Sun Nov 20 11:19:25 CET 2011 |
104 | 0.55 Sun Nov 20 11:19:25 CET 2011 |
15 | - semi-automatically generate query methods for almost all clGet*Info names. |
105 | - semi-automatically generate query methods for almost all clGet*Info names. |
16 | - provide cl_ext.h constants. |
106 | - provide cl_ext.h constants. |
… | |
… | |
27 | - allow undef or missing data scalar for image2d and image3d. |
117 | - allow undef or missing data scalar for image2d and image3d. |
28 | - fix enqueue_copy_image prototype. |
118 | - fix enqueue_copy_image prototype. |
29 | - fix formatting. |
119 | - fix formatting. |
30 | |
120 | |
31 | 0.14 Thu Nov 17 04:04:23 CET 2011 |
121 | 0.14 Thu Nov 17 04:04:23 CET 2011 |
32 | - major incompatibilities due to API cleanup, the AI should now be |
122 | - major incompatibilities due to API cleanup, the API should now be |
33 | mostly stable, if incomplete. |
123 | mostly stable, if incomplete. |
34 | - fix prerequisites. |
124 | - fix prerequisites. |
35 | - replaced all _simple functions by "full" implementations, with some |
125 | - replaced all _simple functions by "full" implementations, with some |
36 | parameters marked for future expansion - that means their API |
126 | parameters marked for future expansion - that means their API |
37 | should be stable from now on: |
127 | should be stable from now on: |