mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-05-24 14:54:51 +00:00
removing extra stream and destroying created ones
This commit is contained in:
@@ -163,6 +163,10 @@ mscclppResult_t mscclppCommDestroy(mscclppComm_t comm)
|
||||
MSCCLPPCHECK(mscclppCudaHostFree(proxyState->triggerFifo));
|
||||
MSCCLPPCHECK(mscclppCudaFree(proxyState->fifoHead));
|
||||
MSCCLPPCHECK(mscclppCudaFree(proxyState->fifoTailDev));
|
||||
|
||||
if (proxyState->p2pStream)
|
||||
CUDACHECK(cudaStreamDestroy(proxyState->p2pStream));
|
||||
CUDACHECK(cudaStreamDestroy(proxyState->fifoStream));
|
||||
free(proxyState);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,6 @@ struct proxyArgs
|
||||
{
|
||||
struct mscclppComm* comm;
|
||||
struct mscclppProxyState* proxyState;
|
||||
cudaStream_t stream;
|
||||
};
|
||||
|
||||
static void readTrigger(mscclppTrigger* dst, mscclppTrigger* src)
|
||||
|
||||
Reference in New Issue
Block a user