pyopencl 2024.2.4__cp312-cp312-macosx_10_14_x86_64.whl → 2024.2.6__cp312-cp312-macosx_10_14_x86_64.whl

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/invoker.py CHANGED
@@ -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,
pyopencl/scan.py CHANGED
@@ -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):
pyopencl/version.py CHANGED
@@ -1,7 +1,9 @@
1
+ import re
1
2
  from importlib import metadata
2
- VERSION_TEXT = metadata.version("pyopencl")
3
3
 
4
- import re
4
+
5
+ VERSION_TEXT = metadata.version("pyopencl")
5
6
  _match = re.match("^([0-9.]+)([a-z0-9]*?)$", VERSION_TEXT)
7
+ assert _match is not None
6
8
  VERSION_STATUS = _match.group(2)
7
9
  VERSION = tuple(int(nr) for nr in _match.group(1).split("."))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyopencl
3
- Version: 2024.2.4
3
+ Version: 2024.2.6
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"
@@ -1,11 +1,7 @@
1
- pyopencl-2024.2.4.dist-info/RECORD,,
2
- pyopencl-2024.2.4.dist-info/WHEEL,sha256=0kJ-cQPrO051rIsR2MjcrjsKmrkZyW1udSMFAVbv54s,115
3
- pyopencl-2024.2.4.dist-info/METADATA,sha256=d5bnG74Fbsq-tEUegy7cYX862OrLpN7AmwTP8yfIlL8,4671
4
- pyopencl-2024.2.4.dist-info/licenses/LICENSE,sha256=wiBvs-UC54bB5DswWuvB66B96b4hkYw_VLt8IR0cBPI,15284
5
1
  pyopencl/_cl.cpython-312-darwin.so,sha256=PQsLXLZ_NZhLb8Xx0BOuGKNS5VbTbt3RyJSvFc7gTfw,469888
6
2
  pyopencl/algorithm.py,sha256=y3wnm2l-0mzIy1dwcZmKR2iLGPVMIlwbgAAsM3elJVg,51265
7
3
  pyopencl/clmath.py,sha256=lOxQzE6BEp5-nVRuGu0hgxzk_gcx7aTiy_hRFxAPmcI,8222
8
- pyopencl/version.py,sha256=2bpVcHPShdSZ52pNXSfvp8uKh9oEqzdOofIq3wUd4wk,240
4
+ pyopencl/version.py,sha256=PhHAIjtUGVQ2wTVlqgoOrcC_2rkvNMmqvy1rRDqWOhg,267
9
5
  pyopencl/capture_call.py,sha256=MJDOVqU6s8rJ5nmd5zOcqNe7GLXad2NwGeTpG60Kau0,5661
10
6
  pyopencl/reduction.py,sha256=OZMkLGt5KUp3HG2k0mkXBgF04IGWXzdhuZHy_IAwL1g,25524
11
7
  pyopencl/tools.py,sha256=3L0FggJ_nhw4M0KG1yG1VgMPdfA6NttY0nG7Yk6Glts,45993
@@ -13,9 +9,9 @@ pyopencl/elementwise.py,sha256=VMw6A6wGaaBOsxdofjBq9Hyv6l0m9cGKVh2HwsfMuu4,38602
13
9
  pyopencl/cache.py,sha256=PltNiHqrAmX7Tgg9BfFdheAHU6qwkg0tjbtCPKKryls,15959
14
10
  pyopencl/__init__.py,sha256=-3X3PY8QfGO_DRGrFcRh9iZqG9S6_2P68vx66ItOM0E,81108
15
11
  pyopencl/cltypes.py,sha256=DdBVPBU2bRuIbT8ImhWFIQosrefMOkAa4mY4yoSnurc,4818
16
- pyopencl/invoker.py,sha256=7pjVh0CDkRTNHc1PVQV9Lxhi-0FXvJHtq-jDzLJUypk,13994
12
+ pyopencl/invoker.py,sha256=Tua5-JV8TlumHVLcNSWhzBiOvQNVBOWj1fUOhrtcjPI,14023
17
13
  pyopencl/ipython_ext.py,sha256=bN-5I06Nb53_2qE0KfKXxK27Gn4tG3EDj11Az8iTb28,1914
18
- pyopencl/scan.py,sha256=NbhwamNMcoJaCfeQX2eciQdWEhlAfVxIOTRy5oaUAx8,65500
14
+ pyopencl/scan.py,sha256=YAFn7V3T8Pb5XKMSY0JlzwSF_op4PxS-tIWdiq4vyiU,65529
19
15
  pyopencl/_cluda.py,sha256=KKUxizD1iQEuZ_TmmFZNJ8IdXa8x8uT9HgB0nmAlYLw,2074
20
16
  pyopencl/_mymako.py,sha256=VnxoyODc-_wVcWhKgQqUYVh_Iun5498Yg4W0WmGhTwk,610
21
17
  pyopencl/array.py,sha256=yazv6DHRsKzlMuR0OFMn465RihWpIe_OUAWlAS8oQHE,111717
@@ -25,7 +21,6 @@ pyopencl/clrandom.py,sha256=wAzoB6U4cNCipy5xbeYrrvDbqx_QFLmp_FeqIAu3K7I,13043
25
21
  pyopencl/compyte/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
22
  pyopencl/compyte/dtypes.py,sha256=FQ1KrstfEIV_ikNNvbC1JODX9rLQ-Yo8-QhAwD-4v9I,9809
27
23
  pyopencl/compyte/.gitignore,sha256=HVYtbKRtOCPWZavrgYqO2u7UKFiE7g7ympmuQzKbBBw,168
28
- pyopencl/compyte/setup.cfg,sha256=p7e45CWUsMPBcFZQ1zshcAmfP4PwYNRcNIjLwkxDg-8,153
29
24
  pyopencl/compyte/.git,sha256=hqjyvpQvk3kzLjhnlN4Ht1Pgj7gEz1d0hTK9YSPe5T8,44
30
25
  pyopencl/compyte/array.py,sha256=9dUSCSb475naOADXWhgpQb72Yx1FjKWMEaU6jRwdq90,7422
31
26
  pyopencl/compyte/ndarray/pygpu_language_opencl.cpp,sha256=kyY6wV_h_-uAj8IOO6c9gYHoxJ5Bir83M7XptAUx3u8,7946
@@ -42,8 +37,6 @@ pyopencl/compyte/ndarray/test_gpu_ndarray.py,sha256=a0PV3JVH7TG9-jZdBcrJwuqqnWD5
42
37
  pyopencl/compyte/ndarray/gpu_ndarray.h,sha256=3elPl8SzlpZHTAa-nlOeD7M5YOqVN-7whd5tMWx9zHY,1005
43
38
  pyopencl/compyte/ndarray/pygpu_language_cuda.cu,sha256=YO2xyBAtWwXx8RMvn-C2HHSjvjU-oEOpMzrF-CwGVDI,29323
44
39
  pyopencl/compyte/ndarray/pygpu_language.h,sha256=HSAfiG0W87aBoT6UAQl1ODQpdWr7GtSMtMtDpEjQkAI,7049
45
- pyopencl/compyte/.github/workflows/autopush.yml,sha256=k_3S43n36xjKkjzTiNQsz6_NIH-9-HweUUT8yqUDbgM,665
46
- pyopencl/compyte/.github/workflows/ci.yml,sha256=afEEhKaYhpn6kccnVgpYe8Hmie-EC9r-gEM1OUMpT6M,787
47
40
  pyopencl/characterize/__init__.py,sha256=MM56Q4P2IH-piykKeenHgsXYnAcB2HiTj0ftnYVYNVc,14346
48
41
  pyopencl/characterize/performance.py,sha256=TD8-cNnGnn46sQwfR5xNF2nr8yQcrmhuzJaYB13pSqk,6866
49
42
  pyopencl/cl/pyopencl-bessel-y.cl,sha256=VDy8l4lVxO8VcJR_maeGu_Qjnw27j28zBwhaTKDhBBg,12297
@@ -57,3 +50,7 @@ pyopencl/cl/pyopencl-random123/threefry.cl,sha256=2WmQGxx5gPSv22UL9_MlXv0eMug91k
57
50
  pyopencl/cl/pyopencl-random123/philox.cl,sha256=vYcQH7Vw13Q3qkW5Nhy1HTUDbWLGKoloE1YP0VWk6vU,21740
58
51
  pyopencl/cl/pyopencl-random123/array.h,sha256=nIV0zDWYuybldNgtsh79icNtDXHYdDsSpFaWIvDTyw4,17088
59
52
  pyopencl/cl/pyopencl-random123/openclfeatures.h,sha256=pAPbl7JkQgJxulSuGGevpaI43P7PwiH2mYxtNfHq59M,2881
53
+ pyopencl-2024.2.6.dist-info/RECORD,,
54
+ pyopencl-2024.2.6.dist-info/WHEEL,sha256=0kJ-cQPrO051rIsR2MjcrjsKmrkZyW1udSMFAVbv54s,115
55
+ pyopencl-2024.2.6.dist-info/METADATA,sha256=prPrKahe_rhtHz4EBiZBlOCc8y3v-ZX-vlKexhM4dFA,4670
56
+ pyopencl-2024.2.6.dist-info/licenses/LICENSE,sha256=wiBvs-UC54bB5DswWuvB66B96b4hkYw_VLt8IR0cBPI,15284
@@ -1,21 +0,0 @@
1
- name: Gitlab mirror
2
- on:
3
- push:
4
- branches:
5
- - main
6
-
7
- jobs:
8
- autopush:
9
- name: Automatic push to gitlab.tiker.net
10
- runs-on: ubuntu-latest
11
- steps:
12
- - uses: actions/checkout@v3
13
- - run: |
14
- mkdir ~/.ssh && echo -e "Host gitlab.tiker.net\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
15
- eval $(ssh-agent) && echo "$GITLAB_AUTOPUSH_KEY" | ssh-add -
16
- git fetch --unshallow
17
- git push "git@gitlab.tiker.net:inducer/$(basename $GITHUB_REPOSITORY).git" main
18
- env:
19
- GITLAB_AUTOPUSH_KEY: ${{ secrets.GITLAB_AUTOPUSH_KEY }}
20
-
21
- # vim: sw=4
@@ -1,30 +0,0 @@
1
- name: CI
2
- on:
3
- push:
4
- branches:
5
- - main
6
- pull_request:
7
- schedule:
8
- - cron: '17 3 * * 0'
9
-
10
- jobs:
11
- flake8:
12
- name: Flake8
13
- runs-on: ubuntu-latest
14
- steps:
15
- - uses: actions/checkout@v3
16
- -
17
- uses: actions/setup-python@v4
18
- with:
19
- # matches compat target in setup.py
20
- python-version: '3.8'
21
- - name: "Main Script"
22
- run: |
23
- curl -L -O https://tiker.net/ci-support-v0
24
- . ./ci-support-v0
25
- print_status_message
26
- clean_up_repo_and_working_env
27
- create_and_set_up_virtualenv
28
- cd ..
29
- cp compyte/setup.cfg .
30
- install_and_run_flake8 compyte/*.py
@@ -1,9 +0,0 @@
1
- [flake8]
2
- ignore = E126,E127,E128,E123,E226,E241,E242
3
- max-line-length=85
4
-
5
- inline-quotes = "
6
- docstring-quotes = """
7
- multiline-quotes = """
8
-
9
- # enable-isort