diff --git a/src/common.cu b/src/common.cu index 401ba46c2b..6363899965 100644 --- a/src/common.cu +++ b/src/common.cu @@ -659,6 +659,11 @@ testResult_t AllocateBuffs(void **sendbuff, size_t sendBytes, void **recvbuff, s HIPCHECK(hipMallocManaged(sendbuff, nbytes)); HIPCHECK(hipMallocManaged(recvbuff, nbytes)); HIPCHECK(hipMallocManaged(expected, recvBytes)); +#if 0 + HIPCHECK(hipMemset(*sendbuff, 0, nbytes)); + HIPCHECK(hipMemset(*recvbuff, 0, nbytes)); + HIPCHECK(hipMemset(*expected, 0, recvBytes)); +#endif } else { HIPCHECK(hipMalloc(sendbuff, nbytes)); @@ -910,6 +915,7 @@ testResult_t run() { for (int i=0; i