1 |
Revision history for Perl extension OpenCL. |
2 |
|
3 |
TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clCreateProgramWithBinary.html |
4 |
TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clSetEventCallback.html, *pfn |
5 |
TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clSetMemObjectDestructorCallback.html, *pfn |
6 |
TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueUnmapMemObject.html |
7 |
TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueMapBuffer.html |
8 |
TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueMapImage.html |
9 |
TODO: some convenience methods maybe? |
10 |
TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCompileProgram.html |
11 |
TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clLinkProgram.html |
12 |
TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateProgramWithBuiltInKernels.html |
13 |
TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateSubDevices.html |
14 |
TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueMigrateMemObjects.html |
15 |
TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetKernelArgInfo.html (also generic accessor) |
16 |
|
17 |
TODO: contetx notifications |
18 |
TODO: async::interrupt object |
19 |
TODO: document event system |
20 |
- INCOMPATIBLE CHANGE: $prog->build now wants an array of devices, or undef. |
21 |
- implement context notification callbacks (untested). |
22 |
- provide a default context notification function that prints to stderr. |
23 |
- implement event callback notifications. |
24 |
- implement build program notifications. |
25 |
- implement an asynchronous program build function. |
26 |
|
27 |
0.97 Tue Apr 24 16:56:21 CEST 2012 |
28 |
- created $ctx->build_program utility function. |
29 |
- enqueue_acquire/release_gl_objects did not return an event object. |
30 |
- OpenCL::errno did not return the correct value. |
31 |
- allow undef values in event wait lists, for convenience. |
32 |
- implement $program->kernels_in_program. |
33 |
- add opencl 1.2 constants. |
34 |
- implement $ctx->image, $ctx->gl_texture, $platform->unload_compiler, |
35 |
$queue->enqueue_fill_buffer/image, all untested (opencl 1.2). |
36 |
- port image2d and image3d to the opencl 1.2 API. |
37 |
- port enqueue_marker/barrier to the opencl 1.2 API, and croak |
38 |
if the user requests something that 1.1 cannot do when compiled |
39 |
against 1.1. This slightly changes the API for enqueue_barrier, |
40 |
which now checks the context it is called in. |
41 |
- add ->format accessor for CL_IMAGHE_FORMAT. |
42 |
- $object->id function to access internal object id. |
43 |
|
44 |
0.96 Fri Apr 20 22:23:58 CEST 2012 |
45 |
- ->enqueue_write_buffer actually called enqueue_read_buffer. d'oh. |
46 |
- new $kernel->set_local function, to size local buffer arguments. |
47 |
- use finish, not flush, in examples. |
48 |
|
49 |
0.95 Thu Apr 19 21:25:32 CEST 2012 |
50 |
- add lengthy opengl sharing example. |
51 |
- support property lists in CreateContext* calls. |
52 |
- support some opengl sharing extensions |
53 |
(gl_buffer, gl_texture[23]d, gl_renderbuffer). |
54 |
- support some cl_khr_gl_sharing extensions. |
55 |
- add some extension constants (cl_gl.h cl_ext.h, cl_d3d10.h). |
56 |
- auto-generate error codes (and include gl+d3d extensions). |
57 |
|
58 |
0.92 Mon Apr 16 08:39:21 CEST 2012 |
59 |
- work around some bugs in amd's opencl implementation (INVALID_HOST_PTR |
60 |
when value deosn't matter). |
61 |
- minor documentation fix (patch by Maik Hentsche). |
62 |
|
63 |
0.91 Sun Dec 11 00:05:02 CET 2011 |
64 |
- introduce $buffer_obj->sub_buffer_region method and a new class, OpenCL::BufferObj |
65 |
for a subbuffer is a buffer without sub_buffer methods! |
66 |
- support apple using a different location for opencl headers - untested. |
67 |
- be more strict when passing event lists. |
68 |
|
69 |
0.59 Tue Nov 22 11:44:32 CET 2011 |
70 |
- provide $program->binaries method. |
71 |
- provide $queue->enqueue_read_buffer_rect method. |
72 |
- provide $queue->enqueue_write_buffer_rect method. |
73 |
- coalesce like-typed accessor methods into the same xs function and |
74 |
multiple ALIASes - this reduces the OpenCL codesize from 162kb to |
75 |
132kb on my system. |
76 |
- minor doc improvements. |
77 |
|
78 |
0.55 Sun Nov 20 11:19:25 CET 2011 |
79 |
- semi-automatically generate query methods for almost all clGet*Info names. |
80 |
- provide cl_ext.h constants. |
81 |
- provide OpenCL::Image->image_info method. |
82 |
- provide OpenCL::Event->profiling_info method. |
83 |
- provide OpenCL::Kernel->work_group_info method. |
84 |
|
85 |
0.15 Thu Nov 17 07:22:11 CET 2011 |
86 |
- include slice_pitch in enqueue_write_image (can be 0). |
87 |
- check length in enqueue_write_image. |
88 |
- properly calculate size in enqueue_read_image. |
89 |
- likewise, include row_pitch and slice_pitch in image2d and image3d, |
90 |
which must be nonzero right now, too, sorry. |
91 |
- allow undef or missing data scalar for image2d and image3d. |
92 |
- fix enqueue_copy_image prototype. |
93 |
- fix formatting. |
94 |
|
95 |
0.14 Thu Nov 17 04:04:23 CET 2011 |
96 |
- major incompatibilities due to API cleanup, the API should now be |
97 |
mostly stable, if incomplete. |
98 |
- fix prerequisites. |
99 |
- replaced all _simple functions by "full" implementations, with some |
100 |
parameters marked for future expansion - that means their API |
101 |
should be stable from now on: |
102 |
OpenCL::context_from_type_simple => OpenCL::context_from_type |
103 |
$platform->context_from_type_simple => $platform->context_from_type |
104 |
$dev->context_simple => $platform->context |
105 |
$ctx->command_queue_simple became => $ctx->queue |
106 |
- add OpenCL::context function. |
107 |
- officially require C99. |
108 |
- errno value is unspecified after a successful call. |
109 |
|
110 |
0.03 Wed Nov 16 01:44:26 CET 2011 |
111 |
- add some reference documentation for all functions. |
112 |
- add user event support. |
113 |
- implement event wait lists. |
114 |
|
115 |
0.02 Tue Nov 15 22:15:47 CET 2011 |
116 |
- first opencl kernel executed, some example code. |
117 |
|
118 |
0.01 Tue Nov 15 05:59:00 CET 2011 |
119 |
- cloned from Convert::Scalar. |
120 |
|