ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/OpenCL/Changes
Revision: 1.84
Committed: Mon May 7 01:01:33 2012 UTC (12 years ago) by root
Branch: MAIN
CVS Tags: rel-1_01
Changes since 1.83: +2 -1 lines
Log Message:
1.01

File Contents

# User Rev Content
1 root 1.1 Revision history for Perl extension OpenCL.
2    
3 root 1.22 TODO: some convenience methods maybe?
4 root 1.80 TODO: async compile/link
5     TODO: async $ctx->build_program
6 root 1.25
7 root 1.84 1.01 Mon May 7 03:00:53 CEST 2012
8 root 1.83 - missing symbols are again exported with a 0 default value.
9 root 1.84 - do not try to use cl_d3d9.h - the d3d9 extension has been abondoned by khronos.
10 root 1.81
11 root 1.79 1.0 Sat May 5 18:43:54 CEST 2012
12 root 1.70 - OpenCL 1.2 is now effectively feature complete (but hardly tested).
13 root 1.79 - mapping a 1d image with default height now works.
14 root 1.70 - 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 root 1.74 - implement OpenCL::context.
22 root 1.77 - implement $memory->destructor_callback.
23 root 1.79 - new methods: $mappedimage->get_row/set_row/width/height/depth/element_size.
24 root 1.74 - remove $kernel->set_image[23]d.
25 root 1.66 - add most enum and bitfield symbols to the manpage, for quick reference.
26 root 1.73 - default all constants to -1, instead of having them missing.
27     - try hard to get d3d definitions, when/if possible.
28 root 1.75 - add numerical limits and floating point constants from cl_platform.h.
29 root 1.78 - unify C types for accessors, for further code size decrease.
30 root 1.66
31 root 1.65 0.99 Fri May 4 01:31:15 CEST 2012
32 root 1.64 - OpenCL 1.1 is now effectively feature complete.
33 root 1.55 - work around a bug in the nvidia implementation, where build fails with
34     INVALID_BINARY if the compiler runs succesfully but ptxas fails.
35 root 1.56 - explicitly check for 0 size dimensions in nd_range_kernel, as nvidia
36     crashes (and OpenCL probably allows this behaviour).
37 root 1.57 - 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 root 1.58 - release_gl_texture was missing.
41 root 1.59 - fix/improve/balance gl sharing example.
42 root 1.60 - added non-opengl sharing opengl example.
43     - fixed some documentation links.
44 root 1.62 - fixed a bug where enqueue operations with optional parameters at the
45     end not specified would crash.
46 root 1.63 - implemented clEnqueueMapBuffer/Image/UnmapMemObject, and a "mapped object"
47     abstraction.
48 root 1.64 - 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 root 1.63 - speed up object constructions by not looking up stashes.
52 root 1.64 - 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 root 1.55
56 root 1.54 0.98 Sat Apr 28 15:31:46 CEST 2012
57 root 1.47 - INCOMPATIBLE CHANGE: $prog->build now wants an array of devices, or undef.
58 root 1.53 - INCOMPATIBLE CHANGE: $queue->enqueue_xxx methods have been renamed to just
59     $queue->xxx, the enqueue_ prefix has been deprecated.
60 root 1.50 - INCOMPATIBLE CHANGE: use ->set_image to set kernel args, ->image[23]d have
61     been deprecated.
62 root 1.52 - new $kernel->setf function to set kernel arguments in one go.
63 root 1.49 - (optional, automatic) anyevent integration.
64     - implement an event queue, use Async::Interrupt for communication.
65 root 1.47 - implement context notification callbacks (untested).
66     - provide a default context notification function that prints to stderr.
67     - implement event callback notifications.
68     - implement build program notifications.
69     - implement an asynchronous program build function.
70 root 1.53 - $ctx->build_program now distinguishes between wrong build invocations
71     and build failures.
72 root 1.47
73 root 1.46 0.97 Tue Apr 24 16:56:21 CEST 2012
74 root 1.43 - created $ctx->build_program utility function.
75 root 1.35 - enqueue_acquire/release_gl_objects did not return an event object.
76 root 1.37 - OpenCL::errno did not return the correct value.
77 root 1.34 - allow undef values in event wait lists, for convenience.
78 root 1.42 - implement $program->kernels_in_program.
79 root 1.39 - add opencl 1.2 constants.
80 root 1.44 - implement $ctx->image, $ctx->gl_texture, $platform->unload_compiler,
81     $queue->enqueue_fill_buffer/image, all untested (opencl 1.2).
82 root 1.40 - port image2d and image3d to the opencl 1.2 API.
83 root 1.38 - port enqueue_marker/barrier to the opencl 1.2 API, and croak
84     if the user requests something that 1.1 cannot do when compiled
85     against 1.1. This slightly changes the API for enqueue_barrier,
86     which now checks the context it is called in.
87 root 1.45 - add ->format accessor for CL_IMAGHE_FORMAT.
88 root 1.44 - $object->id function to access internal object id.
89 root 1.34
90 root 1.33 0.96 Fri Apr 20 22:23:58 CEST 2012
91     - ->enqueue_write_buffer actually called enqueue_read_buffer. d'oh.
92 root 1.31 - new $kernel->set_local function, to size local buffer arguments.
93 root 1.30 - use finish, not flush, in examples.
94    
95 root 1.29 0.95 Thu Apr 19 21:25:32 CEST 2012
96     - add lengthy opengl sharing example.
97 root 1.25 - support property lists in CreateContext* calls.
98 root 1.26 - support some opengl sharing extensions
99     (gl_buffer, gl_texture[23]d, gl_renderbuffer).
100 root 1.25 - support some cl_khr_gl_sharing extensions.
101 root 1.26 - add some extension constants (cl_gl.h cl_ext.h, cl_d3d10.h).
102     - auto-generate error codes (and include gl+d3d extensions).
103 root 1.14
104 root 1.24 0.92 Mon Apr 16 08:39:21 CEST 2012
105     - work around some bugs in amd's opencl implementation (INVALID_HOST_PTR
106     when value deosn't matter).
107     - minor documentation fix (patch by Maik Hentsche).
108 root 1.23
109 root 1.22 0.91 Sun Dec 11 00:05:02 CET 2011
110 root 1.20 - introduce $buffer_obj->sub_buffer_region method and a new class, OpenCL::BufferObj
111     for a subbuffer is a buffer without sub_buffer methods!
112 root 1.21 - support apple using a different location for opencl headers - untested.
113 root 1.22 - be more strict when passing event lists.
114 root 1.20
115 root 1.19 0.59 Tue Nov 22 11:44:32 CET 2011
116 root 1.18 - provide $program->binaries method.
117     - provide $queue->enqueue_read_buffer_rect method.
118     - provide $queue->enqueue_write_buffer_rect method.
119 root 1.16 - coalesce like-typed accessor methods into the same xs function and
120     multiple ALIASes - this reduces the OpenCL codesize from 162kb to
121     132kb on my system.
122 root 1.15 - minor doc improvements.
123 root 1.10
124 root 1.13 0.55 Sun Nov 20 11:19:25 CET 2011
125     - semi-automatically generate query methods for almost all clGet*Info names.
126 root 1.12 - provide cl_ext.h constants.
127     - provide OpenCL::Image->image_info method.
128     - provide OpenCL::Event->profiling_info method.
129     - provide OpenCL::Kernel->work_group_info method.
130    
131 root 1.11 0.15 Thu Nov 17 07:22:11 CET 2011
132 root 1.10 - include slice_pitch in enqueue_write_image (can be 0).
133     - check length in enqueue_write_image.
134     - properly calculate size in enqueue_read_image.
135 root 1.11 - likewise, include row_pitch and slice_pitch in image2d and image3d,
136     which must be nonzero right now, too, sorry.
137     - allow undef or missing data scalar for image2d and image3d.
138 root 1.8 - fix enqueue_copy_image prototype.
139     - fix formatting.
140    
141     0.14 Thu Nov 17 04:04:23 CET 2011
142 root 1.20 - major incompatibilities due to API cleanup, the API should now be
143 root 1.7 mostly stable, if incomplete.
144 root 1.6 - fix prerequisites.
145 root 1.7 - replaced all _simple functions by "full" implementations, with some
146 root 1.6 parameters marked for future expansion - that means their API
147     should be stable from now on:
148     OpenCL::context_from_type_simple => OpenCL::context_from_type
149     $platform->context_from_type_simple => $platform->context_from_type
150 root 1.7 $dev->context_simple => $platform->context
151 root 1.6 $ctx->command_queue_simple became => $ctx->queue
152 root 1.7 - add OpenCL::context function.
153     - officially require C99.
154     - errno value is unspecified after a successful call.
155 root 1.5
156 root 1.4 0.03 Wed Nov 16 01:44:26 CET 2011
157 root 1.3 - add some reference documentation for all functions.
158     - add user event support.
159     - implement event wait lists.
160    
161 root 1.2 0.02 Tue Nov 15 22:15:47 CET 2011
162     - first opencl kernel executed, some example code.
163    
164 root 1.1 0.01 Tue Nov 15 05:59:00 CET 2011
165     - cloned from Convert::Scalar.
166