minor fix (#443)

Minor fix of `gDim, bDim`.

Co-authored-by: Ruipeng Li <li50@euler.llnl.gov>
This commit is contained in:
Ruipeng Li 2021-08-09 08:49:53 -07:00 committed by GitHub
parent 2e5b573b2b
commit efec0bec11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -497,7 +497,7 @@ hypreDevice_GenScatterAdd(HYPRE_Real *x, HYPRE_Int ny, HYPRE_Int *map, HYPRE_Rea
/* trivial cases, n = 1, 2 */
dim3 bDim = 1;
dim3 gDim = 1;
HYPRE_CUDA_LAUNCH( hypreCUDAKernel_ScatterAddTrivial, bDim, gDim, ny, x, map, y );
HYPRE_CUDA_LAUNCH( hypreCUDAKernel_ScatterAddTrivial, gDim, bDim, ny, x, map, y );
}
else
{