From 4615b00383163d825eebc6d24f9a04bc3774de9e Mon Sep 17 00:00:00 2001 From: Damien L-G Date: Sat, 7 Dec 2024 11:39:08 -0500 Subject: [PATCH] Rely on ADL for creat_mirror(GRAPH) Signed-off-by: Damien L-G --- sparse/unit_test/Test_Sparse_StaticCrsGraph.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sparse/unit_test/Test_Sparse_StaticCrsGraph.hpp b/sparse/unit_test/Test_Sparse_StaticCrsGraph.hpp index def2789798..263c772031 100644 --- a/sparse/unit_test/Test_Sparse_StaticCrsGraph.hpp +++ b/sparse/unit_test/Test_Sparse_StaticCrsGraph.hpp @@ -59,7 +59,7 @@ void run_test_graph() { hView hx; dx = KokkosSparse::create_staticcrsgraph("dx", graph); - hx = KokkosSparse::create_mirror(dx); + hx = create_mirror(dx); ASSERT_EQ(hx.row_map.extent(0) - 1, LENGTH); @@ -99,8 +99,8 @@ void run_test_graph2() { } dView dx = KokkosSparse::create_staticcrsgraph("test", sizes); - hView hx = KokkosSparse::create_mirror(dx); - hView mx = KokkosSparse::create_mirror(dx); + hView hx = create_mirror(dx); + hView mx = create_mirror(dx); ASSERT_EQ((size_t)dx.row_map.extent(0), (size_t)LENGTH + 1); ASSERT_EQ((size_t)hx.row_map.extent(0), (size_t)LENGTH + 1); @@ -162,7 +162,7 @@ void run_test_graph3(size_t B, size_t N) { int C = 0; dView dx = KokkosSparse::create_staticcrsgraph("test", sizes); dx.create_block_partitioning(B, C); - hView hx = KokkosSparse::create_mirror(dx); + hView hx = create_mirror(dx); for (size_t i = 0; i < B; i++) { size_t ne = 0;