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