pyopencl 2025.2.5__cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_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-83a5a7fd.so.1.0.0 +0 -0
- pyopencl/__init__.py +1995 -0
- pyopencl/_cl.cpython-312-x86_64-linux-gnu.so +0 -0
- pyopencl/_cl.pyi +2006 -0
- pyopencl/_cluda.py +57 -0
- pyopencl/_monkeypatch.py +1069 -0
- pyopencl/_mymako.py +17 -0
- pyopencl/algorithm.py +1454 -0
- pyopencl/array.py +3441 -0
- pyopencl/bitonic_sort.py +245 -0
- pyopencl/bitonic_sort_templates.py +597 -0
- pyopencl/cache.py +535 -0
- pyopencl/capture_call.py +200 -0
- pyopencl/characterize/__init__.py +463 -0
- pyopencl/characterize/performance.py +240 -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 +282 -0
- pyopencl/clrandom.py +412 -0
- pyopencl/cltypes.py +202 -0
- pyopencl/compyte/.gitignore +21 -0
- pyopencl/compyte/__init__.py +0 -0
- pyopencl/compyte/array.py +241 -0
- pyopencl/compyte/dtypes.py +316 -0
- pyopencl/compyte/pyproject.toml +52 -0
- pyopencl/elementwise.py +1178 -0
- pyopencl/invoker.py +417 -0
- pyopencl/ipython_ext.py +70 -0
- pyopencl/py.typed +0 -0
- pyopencl/reduction.py +815 -0
- pyopencl/scan.py +1916 -0
- pyopencl/tools.py +1565 -0
- pyopencl/typing.py +61 -0
- pyopencl/version.py +11 -0
- pyopencl-2025.2.5.dist-info/METADATA +109 -0
- pyopencl-2025.2.5.dist-info/RECORD +47 -0
- pyopencl-2025.2.5.dist-info/WHEEL +6 -0
- pyopencl-2025.2.5.dist-info/licenses/LICENSE +104 -0
pyopencl/_mymako.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
try:
|
|
5
|
+
import mako.template # noqa: F401
|
|
6
|
+
except ImportError as err:
|
|
7
|
+
raise ImportError(
|
|
8
|
+
"Some of PyOpenCL's facilities require the Mako templating engine.\n"
|
|
9
|
+
"You or a piece of software you have used has tried to call such a\n"
|
|
10
|
+
"part of PyOpenCL, but there was a problem importing Mako.\n\n"
|
|
11
|
+
"You may install mako now by typing one of:\n"
|
|
12
|
+
"- easy_install Mako\n"
|
|
13
|
+
"- pip install Mako\n"
|
|
14
|
+
"- aptitude install python-mako\n"
|
|
15
|
+
"\nor whatever else is appropriate for your system.") from err
|
|
16
|
+
|
|
17
|
+
from mako import * # noqa: F403
|