pyopencl 2024.2.5__tar.gz → 2024.2.7__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.

Files changed (135) hide show
  1. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/PKG-INFO +2 -2
  2. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/invoker.py +2 -1
  3. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/scan.py +2 -1
  4. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyproject.toml +6 -4
  5. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/.gitignore +0 -0
  6. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/.gitlab-ci.yml +0 -0
  7. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/.gitmodules +0 -0
  8. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/.pylintrc-local.yml +0 -0
  9. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/.test-conda-env-py3.yml +0 -0
  10. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/CITATION.cff +0 -0
  11. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/CMakeLists.txt +0 -0
  12. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/LICENSE +0 -0
  13. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/README.rst +0 -0
  14. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/contrib/cldis.py +0 -0
  15. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/contrib/fortran-to-opencl/README +0 -0
  16. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/contrib/fortran-to-opencl/translate.py +0 -0
  17. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/contrib/pyopencl.vim +0 -0
  18. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/.gitignore +0 -0
  19. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/Makefile +0 -0
  20. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/algorithm.rst +0 -0
  21. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/array.rst +0 -0
  22. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/conf.py +0 -0
  23. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/howto.rst +0 -0
  24. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/index.rst +0 -0
  25. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/make_constants.py +0 -0
  26. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/misc.rst +0 -0
  27. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/runtime.rst +0 -0
  28. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/runtime_const.rst +0 -0
  29. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/runtime_gl.rst +0 -0
  30. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/runtime_memory.rst +0 -0
  31. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/runtime_platform.rst +0 -0
  32. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/runtime_program.rst +0 -0
  33. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/runtime_queue.rst +0 -0
  34. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/subst.rst +0 -0
  35. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/tools.rst +0 -0
  36. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/doc/types.rst +0 -0
  37. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/.gitignore +0 -0
  38. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/black-hole-accretion.py +0 -0
  39. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/demo-struct-reduce.py +0 -0
  40. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/demo.py +0 -0
  41. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/demo_array.py +0 -0
  42. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/demo_array_svm.py +0 -0
  43. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/demo_elementwise.py +0 -0
  44. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/demo_elementwise_complex.py +0 -0
  45. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/demo_mandelbrot.py +0 -0
  46. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/demo_meta_codepy.py +0 -0
  47. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/demo_meta_template.py +0 -0
  48. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/dump-performance.py +0 -0
  49. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/dump-properties.py +0 -0
  50. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/gl_interop_demo.py +0 -0
  51. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/gl_particle_animation.py +0 -0
  52. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/ipython-demo.ipynb +0 -0
  53. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/median-filter.py +0 -0
  54. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/n-body.py +0 -0
  55. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/narray.py +0 -0
  56. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/noisyImage.jpg +0 -0
  57. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/pi-monte-carlo.py +0 -0
  58. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/svm.py +0 -0
  59. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/examples/transpose.py +0 -0
  60. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/__init__.py +0 -0
  61. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/_cluda.py +0 -0
  62. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/_mymako.py +0 -0
  63. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/algorithm.py +0 -0
  64. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/array.py +0 -0
  65. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/bitonic_sort.py +0 -0
  66. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/bitonic_sort_templates.py +0 -0
  67. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/cache.py +0 -0
  68. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/capture_call.py +0 -0
  69. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/characterize/__init__.py +0 -0
  70. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/characterize/performance.py +0 -0
  71. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/cl/pyopencl-airy.cl +0 -0
  72. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/cl/pyopencl-bessel-j-complex.cl +0 -0
  73. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/cl/pyopencl-bessel-j.cl +0 -0
  74. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/cl/pyopencl-bessel-y.cl +0 -0
  75. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/cl/pyopencl-complex.h +0 -0
  76. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/cl/pyopencl-eval-tbl.cl +0 -0
  77. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/cl/pyopencl-hankel-complex.cl +0 -0
  78. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/cl/pyopencl-random123/array.h +0 -0
  79. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/cl/pyopencl-random123/openclfeatures.h +0 -0
  80. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/cl/pyopencl-random123/philox.cl +0 -0
  81. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/cl/pyopencl-random123/threefry.cl +0 -0
  82. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/clmath.py +0 -0
  83. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/clrandom.py +0 -0
  84. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/cltypes.py +0 -0
  85. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/.git +0 -0
  86. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/.gitignore +0 -0
  87. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/__init__.py +0 -0
  88. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/array.py +0 -0
  89. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/dtypes.py +0 -0
  90. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/Makefile +0 -0
  91. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/__init__.py +0 -0
  92. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/gen_elemwise.py +0 -0
  93. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/gen_reduction.py +0 -0
  94. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/gpu_ndarray.h +0 -0
  95. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/pygpu_language.h +0 -0
  96. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/pygpu_language_cuda.cu +0 -0
  97. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/pygpu_language_opencl.cpp +0 -0
  98. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/pygpu_ndarray.cpp +0 -0
  99. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/pygpu_ndarray.h +0 -0
  100. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/pygpu_ndarray_object.h +0 -0
  101. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/setup_opencl.py +0 -0
  102. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/test_gpu_elemwise.py +0 -0
  103. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/compyte/ndarray/test_gpu_ndarray.py +0 -0
  104. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/elementwise.py +0 -0
  105. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/ipython_ext.py +0 -0
  106. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/reduction.py +0 -0
  107. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/tools.py +0 -0
  108. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pyopencl/version.py +0 -0
  109. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/pytest.ini +0 -0
  110. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/scripts/build-ocl-macos.sh +0 -0
  111. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/scripts/build-ocl-windows.sh +0 -0
  112. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/scripts/build-ocl.sh +0 -0
  113. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/src/bitlog.cpp +0 -0
  114. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/src/bitlog.hpp +0 -0
  115. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/src/clinfo_ext.h +0 -0
  116. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/src/mempool.hpp +0 -0
  117. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/src/pyopencl_ext.h +0 -0
  118. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/src/tools.hpp +0 -0
  119. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/src/wrap_cl.cpp +0 -0
  120. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/src/wrap_cl.hpp +0 -0
  121. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/src/wrap_cl_part_1.cpp +0 -0
  122. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/src/wrap_cl_part_2.cpp +0 -0
  123. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/src/wrap_constants.cpp +0 -0
  124. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/src/wrap_helpers.hpp +0 -0
  125. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/src/wrap_mempool.cpp +0 -0
  126. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/test/add-vectors-32.spv +0 -0
  127. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/test/add-vectors-64.spv +0 -0
  128. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/test/empty-header.h +0 -0
  129. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/test/test_algorithm.py +0 -0
  130. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/test/test_array.py +0 -0
  131. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/test/test_arrays_in_structs.py +0 -0
  132. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/test/test_clmath.py +0 -0
  133. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/test/test_clrandom.py +0 -0
  134. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/test/test_enqueue_copy.py +0 -0
  135. {pyopencl-2024.2.5 → pyopencl-2024.2.7}/test/test_wrapper.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyopencl
3
- Version: 2024.2.5
3
+ Version: 2024.2.7
4
4
  Summary: Python wrapper for OpenCL
5
5
  Author-Email: Andreas Kloeckner <inform@tiker.net>
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -23,7 +23,7 @@ Requires-Python: ~=3.8
23
23
  Requires-Dist: importlib-resources; python_version < "3.9"
24
24
  Requires-Dist: numpy
25
25
  Requires-Dist: platformdirs>=2.2.0
26
- Requires-Dist: pytools>=2022.1.13
26
+ Requires-Dist: pytools>=2024.1.5
27
27
  Requires-Dist: oclgrind_binary_distribution>=18.3; extra == "oclgrind"
28
28
  Requires-Dist: pocl_binary_distribution>=1.2; extra == "pocl"
29
29
  Requires-Dist: Mako; extra == "test"
@@ -381,7 +381,8 @@ if not cl._PYOPENCL_NO_CACHE:
381
381
  = WriteOncePersistentDict(
382
382
  "pyopencl-invoker-cache-v42-nano",
383
383
  key_builder=_NumpyTypesKeyBuilder(),
384
- in_mem_cache_size=0)
384
+ in_mem_cache_size=0,
385
+ safe_sync=False)
385
386
 
386
387
 
387
388
  def generate_enqueue_and_set_args(function_name,
@@ -1139,7 +1139,8 @@ if not cl._PYOPENCL_NO_CACHE:
1139
1139
  WriteOncePersistentDict(
1140
1140
  "pyopencl-generated-scan-kernel-cache-v1",
1141
1141
  key_builder=_NumpyTypesKeyBuilder(),
1142
- in_mem_cache_size=0)
1142
+ in_mem_cache_size=0,
1143
+ safe_sync=False)
1143
1144
 
1144
1145
 
1145
1146
  class GenericScanKernel(GenericScanKernelBase):
@@ -2,14 +2,16 @@
2
2
  requires = [
3
3
  "scikit-build-core >=0.9.3",
4
4
  "nanobind >=1.9.2",
5
- "numpy;python_version >= '3.9' and platform_python_implementation == 'PyPy'",
6
- "oldest-supported-numpy;python_version < '3.9' or platform_python_implementation != 'PyPy'",
5
+ # https://numpy.org/doc/stable/dev/depending_on_numpy.html#build-time-dependency
6
+ # Just depending on numpy will automatically expose the oldest supported ABI.
7
+ # - Retrieved 2024-06-24, AK
8
+ "numpy",
7
9
  ]
8
10
  build-backend = "scikit_build_core.build"
9
11
 
10
12
  [project]
11
13
  name = "pyopencl"
12
- version = "2024.2.5"
14
+ version = "2024.2.7"
13
15
  description = "Python wrapper for OpenCL"
14
16
  readme = "README.rst"
15
17
  requires-python = "~=3.8"
@@ -35,7 +37,7 @@ dependencies = [
35
37
  "importlib-resources; python_version<'3.9'",
36
38
  "numpy",
37
39
  "platformdirs>=2.2.0",
38
- "pytools>=2022.1.13",
40
+ "pytools>=2024.1.5",
39
41
  ]
40
42
 
41
43
  [project.optional-dependencies]
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