pyopencl 2024.2.4__cp312-cp312-win_amd64.whl → 2024.2.6__cp312-cp312-win_amd64.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.

Binary file
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,5 +1,5 @@
1
1
  pyopencl/__init__.py,sha256=Fyeu2A8r8dEzo8yDZcXNT-UAJE_ZSIJD_pFKz9kp4wc,83513
2
- pyopencl/_cl.cp312-win_amd64.pyd,sha256=q0jJBct0IfwwkIulvI2rSAi6v4nZhzk9BqmxMczO7HI,572416
2
+ pyopencl/_cl.cp312-win_amd64.pyd,sha256=p6YqB6AOpNcxtv_zxRHHf191vGo7Ngby_-oeTJutCWg,572416
3
3
  pyopencl/_cluda.py,sha256=5coLt4eR5BOLgfUesgnaTx_nUhZ6BBhYi9dodvl7cbc,2128
4
4
  pyopencl/_mymako.py,sha256=MKVghtWIXkYppStYGfz2VcaK6qCZ6ICzloMCEE4ee0M,624
5
5
  pyopencl/algorithm.py,sha256=_TYrGd-bY0fDT5wPvkLlIvZMoKFM_lcI-VZ7KfsMS7Q,52711
@@ -25,8 +25,6 @@ pyopencl/clmath.py,sha256=GL9s0YwKpCgvsGl6ndoWXEngPFWAqRRR_HOoQm57OA8,8502
25
25
  pyopencl/clrandom.py,sha256=5RS-1duIm-sauChyd8VjBden3DLqfdjp4D9Csnk6BRg,13451
26
26
  pyopencl/cltypes.py,sha256=2jCvMMBtkhXxfbBFBfM4NSFKRg7kEo1tlwGJQlyiwmQ,4955
27
27
  pyopencl/compyte/.git,sha256=hqjyvpQvk3kzLjhnlN4Ht1Pgj7gEz1d0hTK9YSPe5T8,44
28
- pyopencl/compyte/.github/workflows/autopush.yml,sha256=HBcOTymgCspjYpui-pTAV7T_GYSZRK6afBjPnq_YPL8,686
29
- pyopencl/compyte/.github/workflows/ci.yml,sha256=l-b2MoeO2SvM1cDFb1L4CXRqaA-t5B0UsbXLFexy7pM,817
30
28
  pyopencl/compyte/.gitignore,sha256=PFMRSJycIqPtcpEn7VqbcenWJqHFDuYtwQm_tLbADt8,189
31
29
  pyopencl/compyte/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
30
  pyopencl/compyte/array.py,sha256=IJzw-dSS_injEiLVNHLlSRi0R2F1sO_8xeeK-XezsSo,7636
@@ -45,15 +43,14 @@ pyopencl/compyte/ndarray/pygpu_ndarray_object.h,sha256=LyC78nKfoOgmzLxFw45LKNrT4
45
43
  pyopencl/compyte/ndarray/setup_opencl.py,sha256=XSF-qDieVIEaHph25gTs3fg8A4okd3fESfbiyX7yRTA,3910
46
44
  pyopencl/compyte/ndarray/test_gpu_elemwise.py,sha256=83Ju3lNNU8BcSvqG6QbgcHx_VbVo_-0vVwEBrmYjWtw,18849
47
45
  pyopencl/compyte/ndarray/test_gpu_ndarray.py,sha256=GHBG4TlGxQD2VxJi6p-UPidR8Uy2QJakfp40EsWuEhM,18268
48
- pyopencl/compyte/setup.cfg,sha256=qS0HLzuMggeTYBDKEsURVeKsuDJCUZbiNXn4yqTGRhA,162
49
46
  pyopencl/elementwise.py,sha256=-4L6OtCEQyaNuJJOYq0y36P_TVp0OXs8Zy4oqG8OkZw,39766
50
- pyopencl/invoker.py,sha256=NC8lq8kKjP0VhEByN5AI-mcasBchUZadtMrJ0_UjHws,14412
47
+ pyopencl/invoker.py,sha256=F-bxrqGo9pzPSR5k9XxREBRjUVU6tjnjh2nsoSaMtjQ,14442
51
48
  pyopencl/ipython_ext.py,sha256=5Le00IDI2iGP4VtqeHln6YBJOweGuXcr_HsdPEDzGwc,1982
52
49
  pyopencl/reduction.py,sha256=FiOAQy0ZjkD7-JrwI7pD98IWIbPZoEnSuil_LY3RcOU,26304
53
- pyopencl/scan.py,sha256=guvNQBejjEPq5g9u9PUyMpVchprfdBvBlrp4-ZB-uvo,67398
50
+ pyopencl/scan.py,sha256=03IbhUwxLgV3LnTvA3JbHylUYVvCol7OV9-tPPrymYk,67428
54
51
  pyopencl/tools.py,sha256=ILqLyTdSXQlUwJxDXKPbu5nwuqschsFLjy48TmRqMyk,47510
55
- pyopencl/version.py,sha256=Bnizlakursnj7q5pBth_gLf9dLVqJrD_JFvgiesn9PE,247
56
- pyopencl-2024.2.4.dist-info/METADATA,sha256=d5bnG74Fbsq-tEUegy7cYX862OrLpN7AmwTP8yfIlL8,4671
57
- pyopencl-2024.2.4.dist-info/WHEEL,sha256=QGejE-29qHdvo-x9pCICVWVWKdrsgc_rseByQp_tx9U,105
58
- pyopencl-2024.2.4.dist-info/licenses/LICENSE,sha256=jib9h6nV8oAvCkKPKDecpLakmQi1SktCn4YXmllgySY,15566
59
- pyopencl-2024.2.4.dist-info/RECORD,,
52
+ pyopencl/version.py,sha256=Fp_v5G59_24Um9NujHpex3VRwdffKTwtN8tjiQl5QOQ,276
53
+ pyopencl-2024.2.6.dist-info/METADATA,sha256=prPrKahe_rhtHz4EBiZBlOCc8y3v-ZX-vlKexhM4dFA,4670
54
+ pyopencl-2024.2.6.dist-info/WHEEL,sha256=QGejE-29qHdvo-x9pCICVWVWKdrsgc_rseByQp_tx9U,105
55
+ pyopencl-2024.2.6.dist-info/licenses/LICENSE,sha256=jib9h6nV8oAvCkKPKDecpLakmQi1SktCn4YXmllgySY,15566
56
+ pyopencl-2024.2.6.dist-info/RECORD,,
@@ -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