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 |
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 |
4 | TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clSetEventCallback.html, *pfn |
7 | TODO: CL_IMAGE_FORMAT |
5 | TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clSetMemObjectDestructorCallback.html, *pfn |
8 | TODO: add long example |
6 | TODO: http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueUnmapMemObject.html |
9 | TODO: ->build on multiple devices |
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 |
10 | TODO: some convenience methods maybe? |
9 | TODO: some convenience methods maybe? |
11 | TODO: |
10 | TODO: OpenCL::context |
|
|
11 | TODO: async $cty->build |
|
|
12 | TODO: remove set_image23d |
|
|
13 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCompileProgram.html |
|
|
14 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clLinkProgram.html |
|
|
15 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateProgramWithBuiltInKernels.html |
|
|
16 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateSubDevices.html |
12 | http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueAcquireGLObjects.html |
17 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueMigrateMemObjects.html |
13 | http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueReleaseGLObjects.html |
|
|
14 | http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clGetGLObjectInfo.html |
|
|
15 | http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clGetGLTextureInfo.html |
18 | TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetKernelArgInfo.html (also generic accessor) |
16 | |
19 | |
|
|
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 | |
|
|
29 | 0.98 Sat Apr 28 15:31:46 CEST 2012 |
|
|
30 | - INCOMPATIBLE CHANGE: $prog->build now wants an array of devices, or undef. |
|
|
31 | - INCOMPATIBLE CHANGE: $queue->enqueue_xxx methods have been renamed to just |
|
|
32 | $queue->xxx, the enqueue_ prefix has been deprecated. |
|
|
33 | - INCOMPATIBLE CHANGE: use ->set_image to set kernel args, ->image[23]d have |
|
|
34 | been deprecated. |
|
|
35 | - new $kernel->setf function to set kernel arguments in one go. |
|
|
36 | - (optional, automatic) anyevent integration. |
|
|
37 | - implement an event queue, use Async::Interrupt for communication. |
|
|
38 | - implement context notification callbacks (untested). |
|
|
39 | - provide a default context notification function that prints to stderr. |
|
|
40 | - implement event callback notifications. |
|
|
41 | - implement build program notifications. |
|
|
42 | - implement an asynchronous program build function. |
|
|
43 | - $ctx->build_program now distinguishes between wrong build invocations |
|
|
44 | and build failures. |
|
|
45 | |
|
|
46 | 0.97 Tue Apr 24 16:56:21 CEST 2012 |
|
|
47 | - created $ctx->build_program utility function. |
|
|
48 | - enqueue_acquire/release_gl_objects did not return an event object. |
|
|
49 | - OpenCL::errno did not return the correct value. |
|
|
50 | - allow undef values in event wait lists, for convenience. |
|
|
51 | - implement $program->kernels_in_program. |
|
|
52 | - add opencl 1.2 constants. |
|
|
53 | - implement $ctx->image, $ctx->gl_texture, $platform->unload_compiler, |
|
|
54 | $queue->enqueue_fill_buffer/image, all untested (opencl 1.2). |
|
|
55 | - port image2d and image3d to the opencl 1.2 API. |
|
|
56 | - port enqueue_marker/barrier to the opencl 1.2 API, and croak |
|
|
57 | if the user requests something that 1.1 cannot do when compiled |
|
|
58 | against 1.1. This slightly changes the API for enqueue_barrier, |
|
|
59 | which now checks the context it is called in. |
|
|
60 | - add ->format accessor for CL_IMAGHE_FORMAT. |
|
|
61 | - $object->id function to access internal object id. |
|
|
62 | |
|
|
63 | 0.96 Fri Apr 20 22:23:58 CEST 2012 |
|
|
64 | - ->enqueue_write_buffer actually called enqueue_read_buffer. d'oh. |
|
|
65 | - new $kernel->set_local function, to size local buffer arguments. |
|
|
66 | - use finish, not flush, in examples. |
|
|
67 | |
|
|
68 | 0.95 Thu Apr 19 21:25:32 CEST 2012 |
|
|
69 | - add lengthy opengl sharing example. |
17 | - support property lists in CreateContext* calls. |
70 | - support property lists in CreateContext* calls. |
18 | - support some opengl sharing extensions |
71 | - support some opengl sharing extensions |
19 | (gl_buffer, gl_texture[23]d, gl_renderbuffer). |
72 | (gl_buffer, gl_texture[23]d, gl_renderbuffer). |
20 | - support some cl_khr_gl_sharing extensions. |
73 | - support some cl_khr_gl_sharing extensions. |
21 | - add some extension constants (cl_gl.h cl_ext.h, cl_d3d10.h). |
74 | - add some extension constants (cl_gl.h cl_ext.h, cl_d3d10.h). |