From e963f741266b96de464deb39504537b691558168 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sat, 22 Oct 2011 13:53:57 -0400 Subject: [PATCH] Add CPU, GPU variants of axpy. --- test/test_matmul.py | 44 +++++++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/test/test_matmul.py b/test/test_matmul.py index 55504a877..b0b3b123a 100644 --- a/test/test_matmul.py +++ b/test/test_matmul.py @@ -94,7 +94,7 @@ def test_axpy(ctx_factory): queue = cl.CommandQueue(ctx, properties=cl.command_queue_properties.PROFILING_ENABLE) - n = get_suitable_size(ctx)**3 + n = 20*1024**2 knl = lp.LoopKernel(ctx.devices[0], "[n] -> {[i]: 0<=i