| 1 |
Revision history for Perl extension OpenCL. |
| 2 |
|
| 3 |
TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clSetMemObjectDestructorCallback.html |
| 4 |
TODO: some convenience methods maybe? |
| 5 |
TODO: OpenCL::context |
| 6 |
TODO: remove set_image23d |
| 7 |
TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCompileProgram.html |
| 8 |
TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clLinkProgram.html |
| 9 |
|
| 10 |
TODO: context (FUTURE properties, FUTURE devices, FUTURE notify) |
| 11 |
TODO: enums for ->info methods. |
| 12 |
- implement $queue->migrate_mem_objects. |
| 13 |
- implement $ctx->program_with_built_in_kernels. |
| 14 |
- implement $device->sub_devices. |
| 15 |
- implement $kernel->arg_info and all 5 accessor methods. |
| 16 |
- add most enum and bitfield symbols to the manpage, for quick reference. |
| 17 |
|
| 18 |
0.99 Fri May 4 01:31:15 CEST 2012 |
| 19 |
- OpenCL 1.1 is now effectively feature complete. |
| 20 |
- work around a bug in the nvidia implementation, where build fails with |
| 21 |
INVALID_BINARY if the compiler runs succesfully but ptxas fails. |
| 22 |
- explicitly check for 0 size dimensions in nd_range_kernel, as nvidia |
| 23 |
crashes (and OpenCL probably allows this behaviour). |
| 24 |
- actually report clSetKernelArg errors in ("OpenCL::Kernel::setf. |
| 25 |
- setf properly can now properly set local arguments ('z'). |
| 26 |
- using undef to pass null memory buffers now works in set_xxx. |
| 27 |
- release_gl_texture was missing. |
| 28 |
- fix/improve/balance gl sharing example. |
| 29 |
- added non-opengl sharing opengl example. |
| 30 |
- fixed some documentation links. |
| 31 |
- fixed a bug where enqueue operations with optional parameters at the |
| 32 |
end not specified would crash. |
| 33 |
- implemented clEnqueueMapBuffer/Image/UnmapMemObject, and a "mapped object" |
| 34 |
abstraction. |
| 35 |
- both context_from_type methods now properly pass the notify callback. |
| 36 |
- $platform->context now properly passes CL_CONTEXT_PLATFORM again. |
| 37 |
- implement clCreateProgramWithBinary. |
| 38 |
- speed up object constructions by not looking up stashes. |
| 39 |
- use libebc for fine-tuning. |
| 40 |
- reduce codesize considerably by disabling inlining on some functions. |
| 41 |
- speed up many method calls on objects with no subclasses. |
| 42 |
|
| 43 |
0.98 Sat Apr 28 15:31:46 CEST 2012 |
| 44 |
- INCOMPATIBLE CHANGE: $prog->build now wants an array of devices, or undef. |
| 45 |
- INCOMPATIBLE CHANGE: $queue->enqueue_xxx methods have been renamed to just |
| 46 |
$queue->xxx, the enqueue_ prefix has been deprecated. |
| 47 |
- INCOMPATIBLE CHANGE: use ->set_image to set kernel args, ->image[23]d have |
| 48 |
been deprecated. |
| 49 |
- new $kernel->setf function to set kernel arguments in one go. |
| 50 |
- (optional, automatic) anyevent integration. |
| 51 |
- implement an event queue, use Async::Interrupt for communication. |
| 52 |
- implement context notification callbacks (untested). |
| 53 |
- provide a default context notification function that prints to stderr. |
| 54 |
- implement event callback notifications. |
| 55 |
- implement build program notifications. |
| 56 |
- implement an asynchronous program build function. |
| 57 |
- $ctx->build_program now distinguishes between wrong build invocations |
| 58 |
and build failures. |
| 59 |
|
| 60 |
0.97 Tue Apr 24 16:56:21 CEST 2012 |
| 61 |
- created $ctx->build_program utility function. |
| 62 |
- enqueue_acquire/release_gl_objects did not return an event object. |
| 63 |
- OpenCL::errno did not return the correct value. |
| 64 |
- allow undef values in event wait lists, for convenience. |
| 65 |
- implement $program->kernels_in_program. |
| 66 |
- add opencl 1.2 constants. |
| 67 |
- implement $ctx->image, $ctx->gl_texture, $platform->unload_compiler, |
| 68 |
$queue->enqueue_fill_buffer/image, all untested (opencl 1.2). |
| 69 |
- port image2d and image3d to the opencl 1.2 API. |
| 70 |
- port enqueue_marker/barrier to the opencl 1.2 API, and croak |
| 71 |
if the user requests something that 1.1 cannot do when compiled |
| 72 |
against 1.1. This slightly changes the API for enqueue_barrier, |
| 73 |
which now checks the context it is called in. |
| 74 |
- add ->format accessor for CL_IMAGHE_FORMAT. |
| 75 |
- $object->id function to access internal object id. |
| 76 |
|
| 77 |
0.96 Fri Apr 20 22:23:58 CEST 2012 |
| 78 |
- ->enqueue_write_buffer actually called enqueue_read_buffer. d'oh. |
| 79 |
- new $kernel->set_local function, to size local buffer arguments. |
| 80 |
- use finish, not flush, in examples. |
| 81 |
|
| 82 |
0.95 Thu Apr 19 21:25:32 CEST 2012 |
| 83 |
- add lengthy opengl sharing example. |
| 84 |
- support property lists in CreateContext* calls. |
| 85 |
- support some opengl sharing extensions |
| 86 |
(gl_buffer, gl_texture[23]d, gl_renderbuffer). |
| 87 |
- support some cl_khr_gl_sharing extensions. |
| 88 |
- add some extension constants (cl_gl.h cl_ext.h, cl_d3d10.h). |
| 89 |
- auto-generate error codes (and include gl+d3d extensions). |
| 90 |
|
| 91 |
0.92 Mon Apr 16 08:39:21 CEST 2012 |
| 92 |
- work around some bugs in amd's opencl implementation (INVALID_HOST_PTR |
| 93 |
when value deosn't matter). |
| 94 |
- minor documentation fix (patch by Maik Hentsche). |
| 95 |
|
| 96 |
0.91 Sun Dec 11 00:05:02 CET 2011 |
| 97 |
- introduce $buffer_obj->sub_buffer_region method and a new class, OpenCL::BufferObj |
| 98 |
for a subbuffer is a buffer without sub_buffer methods! |
| 99 |
- support apple using a different location for opencl headers - untested. |
| 100 |
- be more strict when passing event lists. |
| 101 |
|
| 102 |
0.59 Tue Nov 22 11:44:32 CET 2011 |
| 103 |
- provide $program->binaries method. |
| 104 |
- provide $queue->enqueue_read_buffer_rect method. |
| 105 |
- provide $queue->enqueue_write_buffer_rect method. |
| 106 |
- coalesce like-typed accessor methods into the same xs function and |
| 107 |
multiple ALIASes - this reduces the OpenCL codesize from 162kb to |
| 108 |
132kb on my system. |
| 109 |
- minor doc improvements. |
| 110 |
|
| 111 |
0.55 Sun Nov 20 11:19:25 CET 2011 |
| 112 |
- semi-automatically generate query methods for almost all clGet*Info names. |
| 113 |
- provide cl_ext.h constants. |
| 114 |
- provide OpenCL::Image->image_info method. |
| 115 |
- provide OpenCL::Event->profiling_info method. |
| 116 |
- provide OpenCL::Kernel->work_group_info method. |
| 117 |
|
| 118 |
0.15 Thu Nov 17 07:22:11 CET 2011 |
| 119 |
- include slice_pitch in enqueue_write_image (can be 0). |
| 120 |
- check length in enqueue_write_image. |
| 121 |
- properly calculate size in enqueue_read_image. |
| 122 |
- likewise, include row_pitch and slice_pitch in image2d and image3d, |
| 123 |
which must be nonzero right now, too, sorry. |
| 124 |
- allow undef or missing data scalar for image2d and image3d. |
| 125 |
- fix enqueue_copy_image prototype. |
| 126 |
- fix formatting. |
| 127 |
|
| 128 |
0.14 Thu Nov 17 04:04:23 CET 2011 |
| 129 |
- major incompatibilities due to API cleanup, the API should now be |
| 130 |
mostly stable, if incomplete. |
| 131 |
- fix prerequisites. |
| 132 |
- replaced all _simple functions by "full" implementations, with some |
| 133 |
parameters marked for future expansion - that means their API |
| 134 |
should be stable from now on: |
| 135 |
OpenCL::context_from_type_simple => OpenCL::context_from_type |
| 136 |
$platform->context_from_type_simple => $platform->context_from_type |
| 137 |
$dev->context_simple => $platform->context |
| 138 |
$ctx->command_queue_simple became => $ctx->queue |
| 139 |
- add OpenCL::context function. |
| 140 |
- officially require C99. |
| 141 |
- errno value is unspecified after a successful call. |
| 142 |
|
| 143 |
0.03 Wed Nov 16 01:44:26 CET 2011 |
| 144 |
- add some reference documentation for all functions. |
| 145 |
- add user event support. |
| 146 |
- implement event wait lists. |
| 147 |
|
| 148 |
0.02 Tue Nov 15 22:15:47 CET 2011 |
| 149 |
- first opencl kernel executed, some example code. |
| 150 |
|
| 151 |
0.01 Tue Nov 15 05:59:00 CET 2011 |
| 152 |
- cloned from Convert::Scalar. |
| 153 |
|