Skip to content

Commit 6f1f569

Browse files
committed
Address pocl 7.x pyvkfft miscompilation
pocl/pocl#2069
1 parent 43af511 commit 6f1f569

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.test-conda-env-py3.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ dependencies:
88
- numpy
99
- scipy
1010
- sympy
11-
- pocl
11+
# https://github.com/pocl/pocl/issues/2069
12+
- pocl<7
1213
- pocl-cuda
1314
- islpy
1415
- pyopencl

sumpy/test/test_fmm.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@ def _test_sumpy_fmm(
146146

147147
actx = actx_factory()
148148

149+
if fft_backend == "pyvkfft":
150+
from pyopencl.characterize import get_pocl_version
151+
if get_pocl_version(actx.queue.device.platform) >= (7,):
152+
pytest.skip("pocl 7 and pyvkfft don't get along: "
153+
"https://github.com/pocl/pocl/issues/2069")
154+
149155
nsources = 1000
150156
ntargets = 300
151157
dtype = np.float64

0 commit comments

Comments
 (0)