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