From 97029ac4ad9e0bd8b578cd207dab3fa6fc6d8f90 Mon Sep 17 00:00:00 2001 From: Seunghwa Kang Date: Thu, 15 Feb 2024 13:15:37 -0800 Subject: [PATCH] bug fix --- cpp/src/prims/per_v_random_select_transform_outgoing_e.cuh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/src/prims/per_v_random_select_transform_outgoing_e.cuh b/cpp/src/prims/per_v_random_select_transform_outgoing_e.cuh index 62cdbec3c13..4e9bfd4943e 100644 --- a/cpp/src/prims/per_v_random_select_transform_outgoing_e.cuh +++ b/cpp/src/prims/per_v_random_select_transform_outgoing_e.cuh @@ -114,9 +114,9 @@ struct convert_pair_to_quadruplet_t { __device__ thrust::tuple operator()( thrust::tuple index_pair) const { - auto nbr_idx = thrust::get<0>(index_pair); - auto key_idx = thrust::get<1>(index_pair); - edge_t local_nbr_idx{0}; + auto nbr_idx = thrust::get<0>(index_pair); + auto key_idx = thrust::get<1>(index_pair); + auto local_nbr_idx = nbr_idx; int minor_comm_rank{-1}; size_t intra_partition_offset{}; if (nbr_idx != invalid_idx) {