diff --git a/pyopencl/elementwise.py b/pyopencl/elementwise.py index d3655783d6300592fb5bdfbcc072ac13f089ac8e..0e35df43baef4e9b3e8def49bff25e9813387a54 100644 --- a/pyopencl/elementwise.py +++ b/pyopencl/elementwise.py @@ -453,7 +453,7 @@ def get_put_kernel(context, dtype, idx_dtype, vec_count=1): "dest{i}[dest_idx] = (use_fill[{i}] ? src{i}[0] : " "src{i}[i % val_ary_lengths[{i}]]);".format(i=i) for i in range(vec_count) - ) + ) ) return get_elwise_kernel(context, args, body, diff --git a/test/test_array.py b/test/test_array.py index a65699f0d7b5da4c29cafc91b399dbbd1dae76ce..2c27e77f521cf698449864b52f4f9a4f5cfcd608 100644 --- a/test/test_array.py +++ b/test/test_array.py @@ -1104,6 +1104,8 @@ def test_squeeze(ctx_factory): def test_fancy_fill(ctx_factory): + if _PYPY: + pytest.xfail("numpypy: multi value setting is not supported") context = ctx_factory() queue = cl.CommandQueue(context) @@ -1121,6 +1123,8 @@ def test_fancy_fill(ctx_factory): def test_fancy_indexing(ctx_factory): + if _PYPY: + pytest.xfail("numpypy: multi value setting is not supported") context = ctx_factory() queue = cl.CommandQueue(context) @@ -1149,6 +1153,9 @@ def test_fancy_indexing(ctx_factory): def test_multi_put(ctx_factory): + if _PYPY: + pytest.xfail("numpypy: multi value setting is not supported") + context = ctx_factory() queue = cl.CommandQueue(context)