ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/OpenCL/Changes
(Generate patch)

Comparing OpenCL/Changes (file contents):
Revision 1.43 by root, Tue Apr 24 13:45:58 2012 UTC vs.
Revision 1.79 by root, Sat May 5 16:44:02 2012 UTC

1Revision history for Perl extension OpenCL. 1Revision history for Perl extension OpenCL.
2 2
3TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clCreateProgramWithBinary.html
4TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clSetEventCallback.html, *pfn
5TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clSetMemObjectDestructorCallback.html, *pfn
6TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueUnmapMemObject.html
7TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueMapBuffer.html
8TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueMapImage.html
9TODO: CL_IMAGE_FORMAT
10TODO: ->build on multiple devices
11TODO: some convenience methods maybe? 3TODO: some convenience methods maybe?
12TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCompileProgram.html
13TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clLinkProgram.html
14TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateProgramWithBuiltInKernels.html
15TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateSubDevices.html
16TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueFillBuffer.html
17TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueFillImage.html
18TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueMigrateMemObjects.html
19TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetKernelArgInfo.html (also generic accessor)
20TODO: ->id method that returns the underlying object id?
21TODO: allow "prefer 1.2/1.1 api" or "ignore 1.2 api"
22 4
51.0 Sat May 5 18:43:54 CEST 2012
6 - OpenCL 1.2 is now effectively feature complete (but hardly tested).
7 - mapping a 1d image with default height now works.
8 - implement these 1.2 functions:
9 $device->sub_devices,
10 $ctx->program_with_built_in_kernels,
11 $ctx->link_program,
12 $program->compile,
13 $kernel->arg_info (and all 5 accessor methods),
14 $queue->migrate_mem_objects.
15 - implement OpenCL::context.
16 - implement $memory->destructor_callback.
17 - new methods: $mappedimage->get_row/set_row/width/height/depth/element_size.
18 - remove $kernel->set_image[23]d.
19 - add most enum and bitfield symbols to the manpage, for quick reference.
20 - default all constants to -1, instead of having them missing.
21 - try hard to get d3d definitions, when/if possible.
22 - add numerical limits and floating point constants from cl_platform.h.
23 - unify C types for accessors, for further code size decrease.
24
250.99 Fri May 4 01:31:15 CEST 2012
26 - OpenCL 1.1 is now effectively feature complete.
27 - work around a bug in the nvidia implementation, where build fails with
28 INVALID_BINARY if the compiler runs succesfully but ptxas fails.
29 - explicitly check for 0 size dimensions in nd_range_kernel, as nvidia
30 crashes (and OpenCL probably allows this behaviour).
31 - actually report clSetKernelArg errors in ("OpenCL::Kernel::setf.
32 - setf properly can now properly set local arguments ('z').
33 - using undef to pass null memory buffers now works in set_xxx.
34 - release_gl_texture was missing.
35 - fix/improve/balance gl sharing example.
36 - added non-opengl sharing opengl example.
37 - fixed some documentation links.
38 - fixed a bug where enqueue operations with optional parameters at the
39 end not specified would crash.
40 - implemented clEnqueueMapBuffer/Image/UnmapMemObject, and a "mapped object"
41 abstraction.
42 - both context_from_type methods now properly pass the notify callback.
43 - $platform->context now properly passes CL_CONTEXT_PLATFORM again.
44 - implement clCreateProgramWithBinary.
45 - speed up object constructions by not looking up stashes.
46 - use libebc for fine-tuning.
47 - reduce codesize considerably by disabling inlining on some functions.
48 - speed up many method calls on objects with no subclasses.
49
500.98 Sat Apr 28 15:31:46 CEST 2012
51 - INCOMPATIBLE CHANGE: $prog->build now wants an array of devices, or undef.
52 - INCOMPATIBLE CHANGE: $queue->enqueue_xxx methods have been renamed to just
53 $queue->xxx, the enqueue_ prefix has been deprecated.
54 - INCOMPATIBLE CHANGE: use ->set_image to set kernel args, ->image[23]d have
55 been deprecated.
56 - new $kernel->setf function to set kernel arguments in one go.
57 - (optional, automatic) anyevent integration.
58 - implement an event queue, use Async::Interrupt for communication.
59 - implement context notification callbacks (untested).
60 - provide a default context notification function that prints to stderr.
61 - implement event callback notifications.
62 - implement build program notifications.
63 - implement an asynchronous program build function.
64 - $ctx->build_program now distinguishes between wrong build invocations
65 and build failures.
66
670.97 Tue Apr 24 16:56:21 CEST 2012
23 - created $ctx->build_program utility function. 68 - created $ctx->build_program utility function.
24 - enqueue_acquire/release_gl_objects did not return an event object. 69 - enqueue_acquire/release_gl_objects did not return an event object.
25 - OpenCL::errno did not return the correct value. 70 - OpenCL::errno did not return the correct value.
26 - allow undef values in event wait lists, for convenience. 71 - allow undef values in event wait lists, for convenience.
27 - implement $program->kernels_in_program. 72 - implement $program->kernels_in_program.
28 - add opencl 1.2 constants. 73 - add opencl 1.2 constants.
29 - implement $ctx->image, $ctx->gl_texture, $platform->unload_compiler 74 - implement $ctx->image, $ctx->gl_texture, $platform->unload_compiler,
30 (opencl 1.2). 75 $queue->enqueue_fill_buffer/image, all untested (opencl 1.2).
31 - port image2d and image3d to the opencl 1.2 API. 76 - port image2d and image3d to the opencl 1.2 API.
32 - port enqueue_marker/barrier to the opencl 1.2 API, and croak 77 - port enqueue_marker/barrier to the opencl 1.2 API, and croak
33 if the user requests something that 1.1 cannot do when compiled 78 if the user requests something that 1.1 cannot do when compiled
34 against 1.1. This slightly changes the API for enqueue_barrier, 79 against 1.1. This slightly changes the API for enqueue_barrier,
35 which now checks the context it is called in. 80 which now checks the context it is called in.
81 - add ->format accessor for CL_IMAGHE_FORMAT.
82 - $object->id function to access internal object id.
36 83
370.96 Fri Apr 20 22:23:58 CEST 2012 840.96 Fri Apr 20 22:23:58 CEST 2012
38 - ->enqueue_write_buffer actually called enqueue_read_buffer. d'oh. 85 - ->enqueue_write_buffer actually called enqueue_read_buffer. d'oh.
39 - new $kernel->set_local function, to size local buffer arguments. 86 - new $kernel->set_local function, to size local buffer arguments.
40 - use finish, not flush, in examples. 87 - use finish, not flush, in examples.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines