Comments (4)
Tested on PoCL 3, 4 and 5:
POCL3: OpenCL 3.0 PoCL 3.1+debian Linux, None+Asserts, RELOC, SPIR, LLVM 15.0.6, SLEEF, DISTRO, POCL_DEBUG
lintaillefer:~/workspace/silx % PYOPENCL_CTX=portable POCL_DEBUG=all POCL_WORK_GROUP_METHOD=cbs ./run_tests.py src/silx/image/test/test_medianfilter.py -vv
INFO:silx.setup:Install requires: numpy >=1.24.2
Building silx to /users/kieffer/workspace-400/silx/build/lib.linux-x86_64-3.11
INFO:silx.setup:Install requires: numpy >=1.24.2
INFO:root:running build
INFO:root:running build_py
INFO:root:running build_ext
INFO: Disabling color, you really want to install colorlog.
INFO:pythran:Disabling color, you really want to install colorlog.
/usr/lib/python3/dist-packages/pythran/tables.py:4530: FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
if not hasattr(numpy, method):
/usr/lib/python3/dist-packages/pythran/tables.py:4563: FutureWarning: In the future `np.bytes` will be defined as the corresponding NumPy scalar.
obj = getattr(themodule, elem)
Patched sys.path, added: '/users/kieffer/workspace-400/silx/build/lib.linux-x86_64-3.11'
==================================================================================== test session starts =====================================================================================
platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /users/kieffer/workspace-400/silx/build/lib.linux-x86_64-3.11/silx, configfile: ../../../pytest.ini
plugins: mock-3.8.2, xvfb-2.0.0
collected 2 items
build/lib.linux-x86_64-3.11/silx/image/test/test_medianfilter.py::TestMedianFilterEngines::testCppMedFilt2d PASSED [ 50%]
build/lib.linux-x86_64-3.11/silx/image/test/test_medianfilter.py::TestMedianFilterEngines::testOpenCLMedFilt2d PASSED [100%]
===================================================================================== 2 passed in 0.52s ======================================================================================
[2024-03-11 12:22:16.793487736] POCL: in fn POclReleaseContext at line 48:
*** INFO *** | REFCOUNTS | Release Context 20 (0x26b8b30), Refcount: 1
PoCL4: OpenCL 3.0 PoCL 4.0 Linux, Debug+Asserts, RELOC, SPIR, SPIR-V, LLVM 15.0.6, SLEEF, CUDA, POCL_DEBUG
[ ... ]
Patched sys.path, added: '/users/kieffer/workspace-400/silx/build/lib.linux-x86_64-3.11'
==================================================================================== test session starts =====================================================================================
platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /users/kieffer/workspace-400/silx/build/lib.linux-x86_64-3.11/silx, configfile: ../../../pytest.ini
plugins: mock-3.8.2, xvfb-2.0.0
collected 2 items
build/lib.linux-x86_64-3.11/silx/image/test/test_medianfilter.py::TestMedianFilterEngines::testCppMedFilt2d PASSED [ 50%]
build/lib.linux-x86_64-3.11/silx/image/test/test_medianfilter.py::TestMedianFilterEngines::testOpenCLMedFilt2d PASSED [100%]
===================================================================================== 2 passed in 1.65s ======================================================================================
[2024-03-11 12:23:12.822077758] POCL: in fn POclReleaseContext at line 48:
*** INFO *** | REFCOUNTS | Release Context 36 (0xc5c5530), Refcount: 1
PoCL5: OpenCL 3.0 PoCL 5.0 Linux, Debug+Asserts, RELOC, SPIR, SPIR-V, LLVM 15.0.6, SLEEF, POCL_DEBUG
Patched sys.path, added: '/users/kieffer/workspace-400/silx/build/lib.linux-x86_64-3.11'
==================================================================================== test session starts =====================================================================================
platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /users/kieffer/workspace-400/silx/build/lib.linux-x86_64-3.11/silx, configfile: ../../../pytest.ini
plugins: mock-3.8.2, xvfb-2.0.0
collected 2 items
build/lib.linux-x86_64-3.11/silx/image/test/test_medianfilter.py::TestMedianFilterEngines::testCppMedFilt2d PASSED [ 50%]
build/lib.linux-x86_64-3.11/silx/image/test/test_medianfilter.py::TestMedianFilterEngines::testOpenCLMedFilt2d PASSED [100%]
===================================================================================== 2 passed in 0.52s ======================================================================================
[2024-03-11 12:28:26.268747955] POCL: in fn POclReleaseContext at line 53:
*** INFO *** | REFCOUNTS | Release Context 20 (0x2c071c0), Refcount: 1
apparently it works with PoCL5 and LLVM15 (debian stable)
from silx.
I managed to get it crashing with:
OpenCL 3.0 PoCL 5.0 Linux, Debug+Asserts, RELOC, SPIR, SPIR-V, LLVM 16.0.6, SLEEF, POCL_DEBUG
from silx.
So the regression appears to be more in LLVM than in PoCL ...
from silx.
This has been fixed in pocl: pocl/pocl#1435 (comment)
Please reopen if needed
from silx.
Related Issues (20)
- Scipy 1.13.0 removes scipy.signal.gaussian HOT 2
- silx.opencl: Avoid executing OpenCL kernels at import time HOT 4
- Drop support for Python 3.7 HOT 1
- Dead Links in README.rst HOT 1
- numpy 2 deprecation warnings HOT 1
- overriding the match ratio in opencl/sift/match.py HOT 1
- h5py_utils fork deprecation warning
- Building `silx` against development version of numpy HOT 2
- `noexcept clause is ignored` warning in Cython code HOT 3
- Add `Tiled` data sources to browse Bluesky runs HOT 8
- Warning in Cython compilation HOT 3
- [2.1.0] Debian build and how to skip ascent downloading ? HOT 3
- How can I copy the data in Raw view? HOT 2
- silx view - HDF5view - improve scroll area HOT 1
- silx.gui.dialog GroupDialog and DatasetDialog are missing an API to select an hdf5 entity
- Add a 'auto' imagej like option HOT 2
- silx view: Large 2D datasets are open HOT 2
- Documentation: Describe conda packaging
- [ExternalResources] Allow to set `_data_home`
- tests failures against Pytest 8.2.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silx.