Skip to content

Commit

Permalink
nvector: debug 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdomine committed Jul 12, 2023
1 parent 91b3013 commit 645b2ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nvector/parhyp/nvector_parhyp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2179,7 +2179,7 @@ int N_VWrmsNormVectorArray_ParHyp(int nvec, N_Vector* X, N_Vector* W, realtype*
ReductionBuffer_CopyFromDevice(W[0], nvec);
for (i = 0; i < nvec; ++i)
{
nrm[i] = NV_HBUFFERp_PH(x)[i];
nrm[i] = NV_HBUFFERp_PH(W[0])[i];
}
#endif

Expand Down Expand Up @@ -2260,7 +2260,7 @@ int N_VWrmsNormMaskVectorArray_ParHyp(int nvec, N_Vector* X, N_Vector* W,
ReductionBuffer_CopyFromDevice(W[0], nvec);
for (i = 0; i < nvec; ++i)
{
nrm[i] = NV_HBUFFERp_PH(x)[i];
nrm[i] = NV_HBUFFERp_PH(W[0])[i];
}
#endif

Expand Down

0 comments on commit 645b2ca

Please sign in to comment.