pyopencl
pyopencl copied to clipboard
OpenCL integration for Python, plus shiny features
Hello! We are beginning to experiment with OpenCL over at scikit-image (see e.g. https://github.com/scikit-image/scikit-image/pull/4215). For us, it would be ideal `np.asarray(pyopencl_array)` worked transparently. The `__array__` method just calls `get`, but...
Suppose I run kernels in multiple queues, using memory pools to allocate output buffers for both. Currently, nothing is preventing a buffer from being returned to the pool before all...
(Normal `Buffer`s do that implicitly.) - For in-order queues, a simple solution would be holding a reference to the queue that was last used to operate on the SVM, and...
https://documen.tician.de/pyopencl/runtime_memory.html#pyopencl.SVMAllocation.enqueue_release
Moved/continued from https://gitlab.tiker.net/inducer/pyopencl/-/merge_requests/93 cc @alexfikl
This extends `Array.get` for the cases that PyViennaCL is interested in -- I spent some time trying to write a fully general version to copy a padded array in n...
Hi! Would you please consider shipping wheels for windows on pypi? I know this exist: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopencl but it would save a lot of trouble for windows people if installing from...
Does pyopencl on pypi support pocl installation? I am trying to avoid conda if possible. Thank you! From the docs: https://documen.tician.de/pyopencl/misc.html#installing-from-pypi-with-linux-wheels On Linux, Ubuntu 20.04 if it matters >To install...
- [ ] There should be `Array.write_events` and `Array.read_events`, with `Array.events` aliasing `write_events` under a deprecation. - [ ] Arguments to all the generated kernels (elementwise etc.) should declare whether...
There is lack of documentation about how to gracefully close: Memory Buffer Program Command queue Context should I call specific method or just lose all references to objects?