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