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.
- pyopencl/.libs/libOpenCL-1ef0e16e.so.1.0.0 +0 -0
- pyopencl/__init__.py +2410 -0
- pyopencl/_cl.cpython-310-x86_64-linux-gnu.so +0 -0
- pyopencl/_cluda.py +54 -0
- pyopencl/_mymako.py +14 -0
- pyopencl/algorithm.py +1449 -0
- pyopencl/array.py +3437 -0
- pyopencl/bitonic_sort.py +242 -0
- pyopencl/bitonic_sort_templates.py +594 -0
- pyopencl/cache.py +535 -0
- pyopencl/capture_call.py +177 -0
- pyopencl/characterize/__init__.py +456 -0
- pyopencl/characterize/performance.py +237 -0
- pyopencl/cl/pyopencl-airy.cl +324 -0
- pyopencl/cl/pyopencl-bessel-j-complex.cl +238 -0
- pyopencl/cl/pyopencl-bessel-j.cl +1084 -0
- pyopencl/cl/pyopencl-bessel-y.cl +435 -0
- pyopencl/cl/pyopencl-complex.h +303 -0
- pyopencl/cl/pyopencl-eval-tbl.cl +120 -0
- pyopencl/cl/pyopencl-hankel-complex.cl +444 -0
- pyopencl/cl/pyopencl-random123/array.h +325 -0
- pyopencl/cl/pyopencl-random123/openclfeatures.h +93 -0
- pyopencl/cl/pyopencl-random123/philox.cl +486 -0
- pyopencl/cl/pyopencl-random123/threefry.cl +864 -0
- pyopencl/clmath.py +280 -0
- pyopencl/clrandom.py +409 -0
- pyopencl/cltypes.py +137 -0
- pyopencl/compyte/.gitignore +21 -0
- pyopencl/compyte/__init__.py +0 -0
- pyopencl/compyte/array.py +214 -0
- pyopencl/compyte/dtypes.py +290 -0
- pyopencl/compyte/pyproject.toml +54 -0
- pyopencl/elementwise.py +1171 -0
- pyopencl/invoker.py +421 -0
- pyopencl/ipython_ext.py +68 -0
- pyopencl/reduction.py +786 -0
- pyopencl/scan.py +1915 -0
- pyopencl/tools.py +1527 -0
- pyopencl/version.py +9 -0
- pyopencl-2024.3.dist-info/METADATA +108 -0
- pyopencl-2024.3.dist-info/RECORD +43 -0
- pyopencl-2024.3.dist-info/WHEEL +5 -0
- 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
|