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