fix for last merged PR

This commit is contained in:
Ruipeng Li 2022-02-07 18:26:53 -06:00
parent 734a10fcb7
commit e40f8219a3

View File

@ -1635,7 +1635,7 @@ hypre_CSRMatrixDiagScaleDevice( hypre_CSRMatrix *A,
HYPRE_CUDA_LAUNCH(hypreCUDAKernel_CSRDiagScale, gDim, bDim,
nrows, A_i, A_j, A_data, ldata, rdata);
hypre_SyncCudaComputeStream(hypre_handle());
hypre_SyncComputeStream(hypre_handle());
return hypre_error_flag;
}