pyopencl 2024.3__cp310-cp310-musllinux_1_2_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.

Files changed (43) hide show
  1. pyopencl/.libs/libOpenCL-1ef0e16e.so.1.0.0 +0 -0
  2. pyopencl/__init__.py +2410 -0
  3. pyopencl/_cl.cpython-310-x86_64-linux-gnu.so +0 -0
  4. pyopencl/_cluda.py +54 -0
  5. pyopencl/_mymako.py +14 -0
  6. pyopencl/algorithm.py +1449 -0
  7. pyopencl/array.py +3437 -0
  8. pyopencl/bitonic_sort.py +242 -0
  9. pyopencl/bitonic_sort_templates.py +594 -0
  10. pyopencl/cache.py +535 -0
  11. pyopencl/capture_call.py +177 -0
  12. pyopencl/characterize/__init__.py +456 -0
  13. pyopencl/characterize/performance.py +237 -0
  14. pyopencl/cl/pyopencl-airy.cl +324 -0
  15. pyopencl/cl/pyopencl-bessel-j-complex.cl +238 -0
  16. pyopencl/cl/pyopencl-bessel-j.cl +1084 -0
  17. pyopencl/cl/pyopencl-bessel-y.cl +435 -0
  18. pyopencl/cl/pyopencl-complex.h +303 -0
  19. pyopencl/cl/pyopencl-eval-tbl.cl +120 -0
  20. pyopencl/cl/pyopencl-hankel-complex.cl +444 -0
  21. pyopencl/cl/pyopencl-random123/array.h +325 -0
  22. pyopencl/cl/pyopencl-random123/openclfeatures.h +93 -0
  23. pyopencl/cl/pyopencl-random123/philox.cl +486 -0
  24. pyopencl/cl/pyopencl-random123/threefry.cl +864 -0
  25. pyopencl/clmath.py +280 -0
  26. pyopencl/clrandom.py +409 -0
  27. pyopencl/cltypes.py +137 -0
  28. pyopencl/compyte/.gitignore +21 -0
  29. pyopencl/compyte/__init__.py +0 -0
  30. pyopencl/compyte/array.py +214 -0
  31. pyopencl/compyte/dtypes.py +290 -0
  32. pyopencl/compyte/pyproject.toml +54 -0
  33. pyopencl/elementwise.py +1171 -0
  34. pyopencl/invoker.py +421 -0
  35. pyopencl/ipython_ext.py +68 -0
  36. pyopencl/reduction.py +786 -0
  37. pyopencl/scan.py +1915 -0
  38. pyopencl/tools.py +1527 -0
  39. pyopencl/version.py +9 -0
  40. pyopencl-2024.3.dist-info/METADATA +108 -0
  41. pyopencl-2024.3.dist-info/RECORD +43 -0
  42. pyopencl-2024.3.dist-info/WHEEL +5 -0
  43. pyopencl-2024.3.dist-info/licenses/LICENSE +104 -0
@@ -0,0 +1,54 @@
1
+ [tool.ruff]
2
+ preview = true
3
+
4
+ [tool.ruff.lint]
5
+ extend-select = [
6
+ "B", # flake8-bugbear
7
+ "C", # flake8-comprehensions
8
+ "E", # pycodestyle
9
+ "F", # pyflakes
10
+
11
+ "I", # flake8-isort
12
+
13
+ "N", # pep8-naming
14
+ "NPY", # numpy
15
+ "Q", # flake8-quotes
16
+ "W", # pycodestyle
17
+
18
+ # TODO
19
+ # "UP", # pyupgrade
20
+ # "RUF", # ruff
21
+ ]
22
+ extend-ignore = [
23
+ "C90", # McCabe complexity
24
+ "E221", # multiple spaces before operator
25
+ "E241", # multiple spaces after comma
26
+ "E402", # module level import not at the top of file
27
+ "E226", # missing whitespace around operator
28
+ "N817", # CamelCase `SubstitutionRuleMappingContext` imported as acronym `SRMC`
29
+
30
+ # FIXME
31
+ "NPY002", # numpy rng
32
+ "C408", # unnecssary dict() -> literal
33
+ "E265", # block comment should start with
34
+ "F841", # local variable unused
35
+ ]
36
+
37
+ [tool.ruff.lint.per-file-ignores]
38
+ "ndarray/**/*.py" = ["Q", "B", "E", "F", "N", "C4"]
39
+
40
+ [tool.ruff.lint.flake8-quotes]
41
+ docstring-quotes = "double"
42
+ inline-quotes = "double"
43
+ multiline-quotes = "double"
44
+
45
+ [tool.ruff.lint.isort]
46
+ combine-as-imports = true
47
+ known-first-party = [
48
+ "pytools",
49
+ "pymbolic",
50
+ ]
51
+ known-local-folder = [
52
+ "modepy",
53
+ ]
54
+ lines-after-imports = 2