From c03cf8185d179a09b4dd9da539088387ae828b1d Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Sat, 10 Sep 2011 18:16:54 -0400 Subject: [PATCH] Use an appropriate size in axpy test. --- test/test_matmul.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_matmul.py b/test/test_matmul.py index c512640c4..e688e2838 100644 --- a/test/test_matmul.py +++ b/test/test_matmul.py @@ -92,7 +92,7 @@ def test_axpy(ctx_factory): queue = cl.CommandQueue(ctx, properties=cl.command_queue_properties.PROFILING_ENABLE) - n = get_suitable_size(ctx)**3 + n = get_suitable_size(ctx)**2 knl = lp.LoopKernel(ctx.devices[0], "[n] -> {[i]: 0<=i<n}", -- GitLab