From 322e6a5e6e91b89428636602963db0ccb4db555a Mon Sep 17 00:00:00 2001 From: Ruipeng Li Date: Fri, 17 Jun 2022 10:14:00 -0700 Subject: [PATCH] astyle --- src/parcsr_ls/par_interp_trunc_device.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/parcsr_ls/par_interp_trunc_device.c b/src/parcsr_ls/par_interp_trunc_device.c index 8c3f4f5fe..037264953 100644 --- a/src/parcsr_ls/par_interp_trunc_device.c +++ b/src/parcsr_ls/par_interp_trunc_device.c @@ -68,7 +68,8 @@ hypreCUDAKernel_InterpTruncationPass0_v1( HYPRE_Int nrows, HYPRE_Int cnt_diag = 0, cnt_offd = 0; /* 2. move wanted entries to the front and row scal */ - for (HYPRE_Int i = p_diag + lane; __any_sync(HYPRE_WARP_FULL_MASK, i < q_diag); i += HYPRE_WARP_SIZE) + for (HYPRE_Int i = p_diag + lane; __any_sync(HYPRE_WARP_FULL_MASK, i < q_diag); + i += HYPRE_WARP_SIZE) { HYPRE_Real v = 0.0; HYPRE_Int j = -1; @@ -96,7 +97,8 @@ hypreCUDAKernel_InterpTruncationPass0_v1( HYPRE_Int nrows, cnt_diag += sum; } - for (HYPRE_Int i = p_offd + lane; __any_sync(HYPRE_WARP_FULL_MASK, i < q_offd); i += HYPRE_WARP_SIZE) + for (HYPRE_Int i = p_offd + lane; __any_sync(HYPRE_WARP_FULL_MASK, i < q_offd); + i += HYPRE_WARP_SIZE) { HYPRE_Real v = 0.0; HYPRE_Int j = -1;