diff --git a/test/test_loopy.py b/test/test_loopy.py index 4559174812e5e3d15818df395798a88a4be7c95f..446de00db237a089e7ac49780da6987fb6f93c97 100644 --- a/test/test_loopy.py +++ b/test/test_loopy.py @@ -1141,17 +1141,21 @@ def test_vector_ilp_with_prefetch(ctx_factory): assert len(list(re.finditer("barrier", code))) == 1 -def test_convolution_like(ctx_factory): +def test_convolution(ctx_factory): ctx = ctx_factory() dtype = np.float64 knl = lp.make_kernel(ctx.devices[0], - "{ [im_x, im_y, f_x, f_y]: -f_w <= f_x,f_y <= f_w \ - and f_w <= im_x < im_w-f_w and f_w <= im_y < im_h-f_w }", + "{ [iimg, ifeat, icolor, im_x, im_y, f_x, f_y]: \ + -f_w <= f_x,f_y <= f_w \ + and f_w <= im_x < im_w-f_w and f_w <= im_y < im_h-f_w \ + and 0<=iimg<=nimgs and 0<=ifeat