From 720dedb08c196242002d4ef6885449e4f0ff043c Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 22 Sep 2021 01:18:13 -0500 Subject: [PATCH] use np.int32 instead of np.int --- test/test_matrixgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_matrixgen.py b/test/test_matrixgen.py index a6bc52d5..ed90ee1e 100644 --- a/test/test_matrixgen.py +++ b/test/test_matrixgen.py @@ -213,7 +213,7 @@ def test_p2p_direct(ctx_factory, exclude_self, factor, lpot_id): extra_kwargs = {} if exclude_self: extra_kwargs["target_to_source"] = \ - cl.array.arange(queue, 0, n, dtype=np.int) + cl.array.arange(queue, 0, n, dtype=np.int32) if lpot_id == 2: from pytools.obj_array import make_obj_array extra_kwargs["dsource_vec"] = \ -- GitLab