ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/OpenCL/Changes
Revision: 1.57
Committed: Sun Apr 29 19:38:05 2012 UTC (12 years ago) by root
Branch: MAIN
Changes since 1.56: +3 -0 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 Revision history for Perl extension OpenCL.
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?
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
17 TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueMigrateMemObjects.html
18 TODO: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetKernelArgInfo.html (also generic accessor)
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
28 0.98 Sat Apr 28 15:31:46 CEST 2012
29 - INCOMPATIBLE CHANGE: $prog->build now wants an array of devices, or undef.
30 - INCOMPATIBLE CHANGE: $queue->enqueue_xxx methods have been renamed to just
31 $queue->xxx, the enqueue_ prefix has been deprecated.
32 - INCOMPATIBLE CHANGE: use ->set_image to set kernel args, ->image[23]d have
33 been deprecated.
34 - new $kernel->setf function to set kernel arguments in one go.
35 - (optional, automatic) anyevent integration.
36 - implement an event queue, use Async::Interrupt for communication.
37 - implement context notification callbacks (untested).
38 - provide a default context notification function that prints to stderr.
39 - implement event callback notifications.
40 - implement build program notifications.
41 - implement an asynchronous program build function.
42 - $ctx->build_program now distinguishes between wrong build invocations
43 and build failures.
44
45 0.97 Tue Apr 24 16:56:21 CEST 2012
46 - created $ctx->build_program utility function.
47 - enqueue_acquire/release_gl_objects did not return an event object.
48 - OpenCL::errno did not return the correct value.
49 - allow undef values in event wait lists, for convenience.
50 - implement $program->kernels_in_program.
51 - add opencl 1.2 constants.
52 - implement $ctx->image, $ctx->gl_texture, $platform->unload_compiler,
53 $queue->enqueue_fill_buffer/image, all untested (opencl 1.2).
54 - port image2d and image3d to the opencl 1.2 API.
55 - port enqueue_marker/barrier to the opencl 1.2 API, and croak
56 if the user requests something that 1.1 cannot do when compiled
57 against 1.1. This slightly changes the API for enqueue_barrier,
58 which now checks the context it is called in.
59 - add ->format accessor for CL_IMAGHE_FORMAT.
60 - $object->id function to access internal object id.
61
62 0.96 Fri Apr 20 22:23:58 CEST 2012
63 - ->enqueue_write_buffer actually called enqueue_read_buffer. d'oh.
64 - new $kernel->set_local function, to size local buffer arguments.
65 - use finish, not flush, in examples.
66
67 0.95 Thu Apr 19 21:25:32 CEST 2012
68 - add lengthy opengl sharing example.
69 - support property lists in CreateContext* calls.
70 - support some opengl sharing extensions
71 (gl_buffer, gl_texture[23]d, gl_renderbuffer).
72 - support some cl_khr_gl_sharing extensions.
73 - add some extension constants (cl_gl.h cl_ext.h, cl_d3d10.h).
74 - auto-generate error codes (and include gl+d3d extensions).
75
76 0.92 Mon Apr 16 08:39:21 CEST 2012
77 - work around some bugs in amd's opencl implementation (INVALID_HOST_PTR
78 when value deosn't matter).
79 - minor documentation fix (patch by Maik Hentsche).
80
81 0.91 Sun Dec 11 00:05:02 CET 2011
82 - introduce $buffer_obj->sub_buffer_region method and a new class, OpenCL::BufferObj
83 for a subbuffer is a buffer without sub_buffer methods!
84 - support apple using a different location for opencl headers - untested.
85 - be more strict when passing event lists.
86
87 0.59 Tue Nov 22 11:44:32 CET 2011
88 - provide $program->binaries method.
89 - provide $queue->enqueue_read_buffer_rect method.
90 - provide $queue->enqueue_write_buffer_rect method.
91 - coalesce like-typed accessor methods into the same xs function and
92 multiple ALIASes - this reduces the OpenCL codesize from 162kb to
93 132kb on my system.
94 - minor doc improvements.
95
96 0.55 Sun Nov 20 11:19:25 CET 2011
97 - semi-automatically generate query methods for almost all clGet*Info names.
98 - provide cl_ext.h constants.
99 - provide OpenCL::Image->image_info method.
100 - provide OpenCL::Event->profiling_info method.
101 - provide OpenCL::Kernel->work_group_info method.
102
103 0.15 Thu Nov 17 07:22:11 CET 2011
104 - include slice_pitch in enqueue_write_image (can be 0).
105 - check length in enqueue_write_image.
106 - properly calculate size in enqueue_read_image.
107 - likewise, include row_pitch and slice_pitch in image2d and image3d,
108 which must be nonzero right now, too, sorry.
109 - allow undef or missing data scalar for image2d and image3d.
110 - fix enqueue_copy_image prototype.
111 - fix formatting.
112
113 0.14 Thu Nov 17 04:04:23 CET 2011
114 - major incompatibilities due to API cleanup, the API should now be
115 mostly stable, if incomplete.
116 - fix prerequisites.
117 - replaced all _simple functions by "full" implementations, with some
118 parameters marked for future expansion - that means their API
119 should be stable from now on:
120 OpenCL::context_from_type_simple => OpenCL::context_from_type
121 $platform->context_from_type_simple => $platform->context_from_type
122 $dev->context_simple => $platform->context
123 $ctx->command_queue_simple became => $ctx->queue
124 - add OpenCL::context function.
125 - officially require C99.
126 - errno value is unspecified after a successful call.
127
128 0.03 Wed Nov 16 01:44:26 CET 2011
129 - add some reference documentation for all functions.
130 - add user event support.
131 - implement event wait lists.
132
133 0.02 Tue Nov 15 22:15:47 CET 2011
134 - first opencl kernel executed, some example code.
135
136 0.01 Tue Nov 15 05:59:00 CET 2011
137 - cloned from Convert::Scalar.
138