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