diff --git a/setup_fixtures.py b/setup_fixtures.py index 042cbfae019bca39c0c6ca9a5cff4f1780796c79..b3800c51c5bb2c86b9c03e7fb04c15957f1d3fa5 100644 --- a/setup_fixtures.py +++ b/setup_fixtures.py @@ -44,8 +44,7 @@ def random_array(*shape): def random_array_on_device(queue, *shape): - ary = np.random.random_sample(shape).astype(np.float32).copy(order="F") - return cl.array.to_device(queue, ary) + return cl.array.to_device(queue, random_array(*shape)) def random_flux_derivative_arrays(params):