From eb2edcf37a7df35d86f03ba003208a96514a6465 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sun, 11 Dec 2011 23:12:48 -0500 Subject: [PATCH] Fix unnecessary use of DP arithmetic. --- test/test_array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_array.py b/test/test_array.py index 7498537a..1f774b8b 100644 --- a/test/test_array.py +++ b/test/test_array.py @@ -631,7 +631,7 @@ def test_mem_pool_with_arrays(ctx_factory): queue = cl.CommandQueue(context) mem_pool = cl_tools.MemoryPool(cl_tools.CLAllocator(context)) - a_dev = cl_array.arange(queue, 2000, dtype=np.float64, allocator=mem_pool) + a_dev = cl_array.arange(queue, 2000, dtype=np.float32, allocator=mem_pool) b_dev = cl_array.to_device(queue, np.arange(2000), allocator=mem_pool) + 4000 result = cl_array.dot(a_dev, b_dev) -- GitLab