added stream synch after hipMemset (#609)

[ROCm/rccl commit: 06bce9d0c9]
Este cometimento está contido em:
akolliasAMD criou e GitHub cometeu 2022-08-30 16:18:37 -06:00
1 ascendente f18868f439
cometimento 2cd63dac42
5 ficheiros modificados
+5 -3

Não existem ficheiros que correspondam à sua pesquisa

+1
Ver ficheiro
@@ -93,6 +93,7 @@ static ncclResult_t ncclCudaCallocDebug(const char *filefunc, int line, T** ptr,
CUDACHECK(hipStreamDestroy(stream));
#else
CUDACHECK(hipMemset(*ptr, 0, nelem*sizeof(T)));
CUDACHECK(hipStreamSynchronize(NULL));
#endif
INFO(NCCL_ALLOC, "%s:%d Cuda Alloc Size %ld pointer %p", filefunc, line, nelem*sizeof(T), *ptr);
int dev;