From ef20c11c85cf0aa4985592c7489ff41e17a61c94 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 17 Jun 2013 23:24:25 -0400 Subject: [PATCH] Test generic stride functionality --- test/test_loopy.py | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/test/test_loopy.py b/test/test_loopy.py index ba695a5df..57e747687 100644 --- a/test/test_loopy.py +++ b/test/test_loopy.py @@ -1071,11 +1071,11 @@ def test_triangle_domain(ctx_factory): print lp.CompiledKernel(ctx, knl).get_highlighted_code() -def test_array_with_offset(ctx_factory): +def test_offsets_and_slicing(ctx_factory): ctx = ctx_factory() queue = cl.CommandQueue(ctx) - n = 5 + n = 20 knl = lp.make_kernel(ctx.devices[0], [ "{[i,j]: 0<=i