From 93371fabaca7d37679ba951b1e12d013751f3ddc Mon Sep 17 00:00:00 2001 From: Yichao Yu <yyc1992@gmail.com> Date: Sun, 22 Jun 2014 09:01:49 +0800 Subject: [PATCH] todo update --- TODOs | 25 +++++++++++++++++++++---- pyopencl/cffi_cl.py | 15 +-------------- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/TODOs b/TODOs index 2f1f3fdb..ab94abae 100644 --- a/TODOs +++ b/TODOs @@ -1,6 +1,23 @@ - *_from_int_ptr, register with metaclass -- subdevices -- Kernel.get_arg_info -- image/buffer copies +- generic_info - Incorporate fixes in C++ stuff from after the fork -- other missing functions +- compare and tests +- enqueue_nd_range_kernel size/offset mess + +- CommandQueue.set_property +- enqueue_migrate_mem_objects +- enqueue_migrate_mem_objects_ext +- _enqueue_copy_image_to_buffer +- _enqueue_copy_buffer_to_image +- _Program.create_with_built_in_kernels +- _Program.compile +- _Program.link +- _Program.all_kernels +- Kernel.get_arg_info +- ?LocalMemory +- get_apple_cgl_share_group +- GLBuffer +- GLRenderBuffer +- GLTexture +- get_gl_context_info_khr +- ?clEnqueueNativeKernel diff --git a/pyopencl/cffi_cl.py b/pyopencl/cffi_cl.py index a0126024..cfc49bca 100644 --- a/pyopencl/cffi_cl.py +++ b/pyopencl/cffi_cl.py @@ -618,7 +618,6 @@ class CommandQueue(_Common): _handle_error(_lib.command_queue__finish(self.ptr)) def flush(self): _handle_error(_lib.command_queue__flush(self.ptr)) - # TODO set_property def _norm_shape_dtype(shape, dtype, order="C", strides=None, name=""): @@ -881,10 +880,6 @@ class _Program(_Common): self.ptr, device.ptr, param, info)) return _generic_info_to_python(info) -# TODO compile? -# create_with_built_in_kernels -# link_program - # }}} @@ -917,8 +912,6 @@ class Kernel(_Common): _handle_error(_lib.kernel__get_work_group_info( self.ptr, param, device.ptr, info)) return _generic_info_to_python(info) - # TODO get_arg_info - # create_kernels_in_program # }}} @@ -983,10 +976,6 @@ class UserEvent(Event): def set_status(self, status): _handle_error(_lib.user_event__set_status(self.ptr, status)) -# TODO -# enqueue_migrate_mem_objects -# enqueue_migrate_mem_objects_ext - # }}} @@ -1346,8 +1335,6 @@ def enqueue_fill_image(queue, img, color, origin, region, wait_for=None): region_l, c_wait_for, num_wait_for)) return Event._create(ptr_event[0]) -# TODO: copy_buffer_to_image copy_image_to_buffer - # }}} # {{{ gl interop @@ -1682,7 +1669,7 @@ class Sampler(_Common): # }}} -# {{{ GLTexture (TODO) +# {{{ GLTexture class GLTexture(Image): _id = 'gl_texture' -- GitLab