pyopencl 2024.2.1__tar.gz → 2024.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pyopencl might be problematic. Click here for more details.
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/PKG-INFO +1 -1
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/contrib/cldis.py +1 -1
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/version.py +1 -1
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl.egg-info/PKG-INFO +1 -1
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/src/wrap_cl.hpp +2 -2
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/src/wrap_mempool.cpp +7 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/test/test_wrapper.py +11 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/CITATION.cff +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/CMakeLists.txt +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/LICENSE +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/MANIFEST.in +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/Makefile.in +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/README.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/README_SETUP.txt +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/aksetup_helper.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/configure.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/contrib/fortran-to-opencl/README +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/contrib/fortran-to-opencl/translate.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/contrib/pyopencl.vim +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/Makefile +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/algorithm.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/array.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/conf.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/howto.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/index.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/make_constants.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/misc.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/runtime.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/runtime_const.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/runtime_gl.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/runtime_memory.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/runtime_platform.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/runtime_program.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/runtime_queue.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/subst.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/tools.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/doc/types.rst +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/black-hole-accretion.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/demo-struct-reduce.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/demo.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/demo_array.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/demo_array_svm.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/demo_elementwise.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/demo_elementwise_complex.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/demo_mandelbrot.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/demo_meta_codepy.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/demo_meta_template.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/dump-performance.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/dump-properties.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/gl_interop_demo.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/gl_particle_animation.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/ipython-demo.ipynb +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/median-filter.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/n-body.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/narray.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/noisyImage.jpg +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/pi-monte-carlo.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/svm.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/examples/transpose.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/__init__.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/_cluda.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/_mymako.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/algorithm.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/array.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/bitonic_sort.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/bitonic_sort_templates.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/cache.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/capture_call.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/characterize/__init__.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/characterize/performance.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/cl/pyopencl-airy.cl +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/cl/pyopencl-bessel-j-complex.cl +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/cl/pyopencl-bessel-j.cl +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/cl/pyopencl-bessel-y.cl +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/cl/pyopencl-complex.h +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/cl/pyopencl-eval-tbl.cl +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/cl/pyopencl-hankel-complex.cl +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/cl/pyopencl-random123/array.h +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/cl/pyopencl-random123/openclfeatures.h +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/cl/pyopencl-random123/philox.cl +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/cl/pyopencl-random123/threefry.cl +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/clmath.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/clrandom.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/cltypes.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/compyte/__init__.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/compyte/array.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/compyte/dtypes.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/compyte/ndarray/__init__.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/compyte/ndarray/gen_elemwise.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/compyte/ndarray/gen_reduction.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/compyte/ndarray/setup_opencl.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/compyte/ndarray/test_gpu_elemwise.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/compyte/ndarray/test_gpu_ndarray.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/elementwise.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/invoker.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/ipython_ext.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/reduction.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/scan.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl/tools.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl.egg-info/SOURCES.txt +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl.egg-info/dependency_links.txt +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl.egg-info/not-zip-safe +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl.egg-info/requires.txt +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyopencl.egg-info/top_level.txt +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pyproject.toml +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/pytest.ini +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/setup.cfg +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/setup.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/src/bitlog.cpp +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/src/bitlog.hpp +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/src/clinfo_ext.h +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/src/mempool.hpp +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/src/pyopencl_ext.h +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/src/tools.hpp +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/src/wrap_cl.cpp +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/src/wrap_cl_part_1.cpp +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/src/wrap_cl_part_2.cpp +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/src/wrap_constants.cpp +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/src/wrap_helpers.hpp +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/test/add-vectors-32.spv +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/test/add-vectors-64.spv +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/test/empty-header.h +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/test/test_algorithm.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/test/test_array.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/test/test_arrays_in_structs.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/test/test_clmath.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/test/test_clrandom.py +0 -0
- {pyopencl-2024.2.1 → pyopencl-2024.2.2}/test/test_enqueue_copy.py +0 -0
|
@@ -44,7 +44,7 @@ def main(ctx, tmp_dir, cl_str, output=None, build_options=[]):
|
|
|
44
44
|
elif platform.name == "Portable Computing Language":
|
|
45
45
|
if device.name.startswith("NVIDIA"):
|
|
46
46
|
supported_outputs = ["ptx", "sass"]
|
|
47
|
-
elif device.name.startswith("pthread") or device.name.startswith("cpu")
|
|
47
|
+
elif device.name.startswith("pthread") or device.name.startswith("cpu"):
|
|
48
48
|
supported_outputs = ["asm"]
|
|
49
49
|
else:
|
|
50
50
|
raise NotImplementedError(f"Unknown pocl device '{device.name}'")
|
|
@@ -1543,6 +1543,17 @@ def test_zero_size_svm_allocations(ctx_factory):
|
|
|
1543
1543
|
zero_sized_svm.release()
|
|
1544
1544
|
|
|
1545
1545
|
|
|
1546
|
+
def test_buffer_release(ctx_factory):
|
|
1547
|
+
ctx = ctx_factory()
|
|
1548
|
+
queue = cl.CommandQueue(ctx)
|
|
1549
|
+
|
|
1550
|
+
mem_pool = cl.tools.MemoryPool(cl.tools.ImmediateAllocator(queue))
|
|
1551
|
+
|
|
1552
|
+
b = mem_pool.allocate(1000)
|
|
1553
|
+
print(type(b))
|
|
1554
|
+
b.release()
|
|
1555
|
+
|
|
1556
|
+
|
|
1546
1557
|
if __name__ == "__main__":
|
|
1547
1558
|
import sys
|
|
1548
1559
|
if len(sys.argv) > 1:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|