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