From 66f6e1508156f6bcfb923c7e9a1989d5fc0a28bc Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Tue, 13 Nov 2018 20:13:00 -0600 Subject: [PATCH] Set test case size to 10000. --- test/test_algorithm.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/test_algorithm.py b/test/test_algorithm.py index a4eb7b4b..5c09b565 100644 --- a/test/test_algorithm.py +++ b/test/test_algorithm.py @@ -897,13 +897,14 @@ def test_list_builder_with_offset(ctx_factory): """, arg_decls=[ VectorArg(float, "input_list", with_offset=True)]) - input_list = cl.array.zeros(queue, (20,), float) + n = 10000 + input_list = cl.array.zeros(queue, (n + 10,), float) input_list[10:] = 1 - result, evt = builder(queue, 10, input_list[10:]) + result, evt = builder(queue, n, input_list[10:]) inf = result["mylist"] - assert inf.count == 10 + assert inf.count == n assert (inf.lists.get() == 1).all() -- GitLab