Skip to content

Commit

Permalink
prov/psm3: Clean ref's to split cuda hostbufs when no longer needed
Browse files Browse the repository at this point in the history
Signed-off-by: Goldman, Adam <[email protected]>
  • Loading branch information
acgoldma committed Jul 27, 2021
1 parent 856f8b2 commit 98f2841
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions psm3/ptl_ips/ips_proto_expected.c
Original file line number Diff line number Diff line change
Expand Up @@ -1882,6 +1882,10 @@ psm2_error_t ips_tid_send_exp(struct ips_tid_send_desc *tidsendc)
}
psmi_cuda_run_prefetcher(protoexp, tidsendc);
}
/* Clean Up tidsendc ref's to split cuda hostbufs when no longer needed */
tidsendc->cuda_num_buf = 0;
tidsendc->cuda_hostbuf[0] = NULL;
tidsendc->cuda_hostbuf[1] = NULL;
}
#endif
err = ips_tid_issue_rdma_write(tidsendc);
Expand Down

0 comments on commit 98f2841

Please sign in to comment.