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 |
|
|
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: some convenience methods maybe? |
3 | TODO: some convenience methods maybe? |
10 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCompileProgram.html |
4 | TODO: async compile/link |
11 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clLinkProgram.html |
5 | TODO: async $ctx->build_program |
12 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateProgramWithBuiltInKernels.html |
|
|
13 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateSubDevices.html |
|
|
14 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueMigrateMemObjects.html |
|
|
15 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetKernelArgInfo.html (also generic accessor) |
|
|
16 | |
6 | |
17 | TODO: contetx notifications |
7 | 1.01 Mon May 7 03:00:53 CEST 2012 |
18 | TODO: async::interrupt object |
8 | - missing symbols are again exported with a 0 default value. |
19 | TODO: document event system |
9 | - do not try to use cl_d3d9.h - the d3d9 extension has been abondoned by khronos. |
|
|
10 | |
|
|
11 | 1.0 Sat May 5 18:43:54 CEST 2012 |
|
|
12 | - OpenCL 1.2 is now effectively feature complete (but hardly tested). |
|
|
13 | - mapping a 1d image with default height now works. |
|
|
14 | - implement these 1.2 functions: |
|
|
15 | $device->sub_devices, |
|
|
16 | $ctx->program_with_built_in_kernels, |
|
|
17 | $ctx->link_program, |
|
|
18 | $program->compile, |
|
|
19 | $kernel->arg_info (and all 5 accessor methods), |
|
|
20 | $queue->migrate_mem_objects. |
|
|
21 | - implement OpenCL::context. |
|
|
22 | - implement $memory->destructor_callback. |
|
|
23 | - new methods: $mappedimage->get_row/set_row/width/height/depth/element_size. |
|
|
24 | - remove $kernel->set_image[23]d. |
|
|
25 | - add most enum and bitfield symbols to the manpage, for quick reference. |
|
|
26 | - default all constants to -1, instead of having them missing. |
|
|
27 | - try hard to get d3d definitions, when/if possible. |
|
|
28 | - add numerical limits and floating point constants from cl_platform.h. |
|
|
29 | - unify C types for accessors, for further code size decrease. |
|
|
30 | |
|
|
31 | 0.99 Fri May 4 01:31:15 CEST 2012 |
|
|
32 | - OpenCL 1.1 is now effectively feature complete. |
|
|
33 | - work around a bug in the nvidia implementation, where build fails with |
|
|
34 | INVALID_BINARY if the compiler runs succesfully but ptxas fails. |
|
|
35 | - explicitly check for 0 size dimensions in nd_range_kernel, as nvidia |
|
|
36 | crashes (and OpenCL probably allows this behaviour). |
|
|
37 | - actually report clSetKernelArg errors in ("OpenCL::Kernel::setf. |
|
|
38 | - setf properly can now properly set local arguments ('z'). |
|
|
39 | - using undef to pass null memory buffers now works in set_xxx. |
|
|
40 | - release_gl_texture was missing. |
|
|
41 | - fix/improve/balance gl sharing example. |
|
|
42 | - added non-opengl sharing opengl example. |
|
|
43 | - fixed some documentation links. |
|
|
44 | - fixed a bug where enqueue operations with optional parameters at the |
|
|
45 | end not specified would crash. |
|
|
46 | - implemented clEnqueueMapBuffer/Image/UnmapMemObject, and a "mapped object" |
|
|
47 | abstraction. |
|
|
48 | - both context_from_type methods now properly pass the notify callback. |
|
|
49 | - $platform->context now properly passes CL_CONTEXT_PLATFORM again. |
|
|
50 | - implement clCreateProgramWithBinary. |
|
|
51 | - speed up object constructions by not looking up stashes. |
|
|
52 | - use libebc for fine-tuning. |
|
|
53 | - reduce codesize considerably by disabling inlining on some functions. |
|
|
54 | - speed up many method calls on objects with no subclasses. |
|
|
55 | |
|
|
56 | 0.98 Sat Apr 28 15:31:46 CEST 2012 |
20 | - INCOMPATIBLE CHANGE: $prog->build now wants an array of devices, or undef. |
57 | - INCOMPATIBLE CHANGE: $prog->build now wants an array of devices, or undef. |
|
|
58 | - INCOMPATIBLE CHANGE: $queue->enqueue_xxx methods have been renamed to just |
|
|
59 | $queue->xxx, the enqueue_ prefix has been deprecated. |
|
|
60 | - INCOMPATIBLE CHANGE: use ->set_image to set kernel args, ->image[23]d have |
|
|
61 | been deprecated. |
|
|
62 | - new $kernel->setf function to set kernel arguments in one go. |
|
|
63 | - (optional, automatic) anyevent integration. |
|
|
64 | - implement an event queue, use Async::Interrupt for communication. |
21 | - implement context notification callbacks (untested). |
65 | - implement context notification callbacks (untested). |
22 | - provide a default context notification function that prints to stderr. |
66 | - provide a default context notification function that prints to stderr. |
23 | - implement event callback notifications. |
67 | - implement event callback notifications. |
24 | - implement build program notifications. |
68 | - implement build program notifications. |
25 | - implement an asynchronous program build function. |
69 | - implement an asynchronous program build function. |
|
|
70 | - $ctx->build_program now distinguishes between wrong build invocations |
|
|
71 | and build failures. |
26 | |
72 | |
27 | 0.97 Tue Apr 24 16:56:21 CEST 2012 |
73 | 0.97 Tue Apr 24 16:56:21 CEST 2012 |
28 | - created $ctx->build_program utility function. |
74 | - created $ctx->build_program utility function. |
29 | - enqueue_acquire/release_gl_objects did not return an event object. |
75 | - enqueue_acquire/release_gl_objects did not return an event object. |
30 | - OpenCL::errno did not return the correct value. |
76 | - OpenCL::errno did not return the correct value. |