Skip to content

Commit

Permalink
nvector: debug 4
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdomine committed Jul 7, 2023
1 parent d8f1bf6 commit f9be449
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 @@ -624,8 +624,8 @@ void N_VDestroy_ParHyp(N_Vector v)
FreeDeviceCounter(v);
FreeReductionBuffer(v);
// FusedBuffer_Free(v);
NV_PRIVATE_PH(v) = NULL;
free(NV_PRIVATE_PH(v));
NV_CONTENT_PH(v)->priv = NULL;
}
delete NV_STREAM_POLICY_PH(v);
delete NV_REDUCE_POLICY_PH(v);
Expand Down Expand Up @@ -2638,7 +2638,7 @@ static void FreeReductionBuffer(N_Vector v)
vcp->reduce_buffer_bytes = 0;
}

static int CopyReductionBufferFromDevice(N_Vector v, size_t n);
static int CopyReductionBufferFromDevice(N_Vector v, size_t n)
{
int copy_fail;
NV_ADD_LANG_PREFIX_PH(Error_t) err;
Expand Down

0 comments on commit f9be449

Please sign in to comment.