Memset to fix inflated performance when GPU is reset (#94)
* Memset to fix inflated performance when GPU is reset
* use hipMemset for both memsets
[ROCm/rccl-tests commit: f2a48983ae]
이 커밋은 다음에 포함됨:
1 부모
7ecf5d7fda
커밋
7fbad10633
1 파일이 변경됨
+2
@@ -904,6 +904,8 @@ testResult_t AllocateBuffs(void **sendbuff, size_t sendBytes, void **recvbuff, s
|
||||
CUDACHECK(cudaMalloc(recvbuff, nbytes));
|
||||
if (datacheck) CUDACHECK(cudaMalloc(expected, recvBytes));
|
||||
}
|
||||
CUDACHECK(hipMemset(*sendbuff, 1, nbytes));
|
||||
if (datacheck) CUDACHECK(hipMemset(*expected, 1, recvBytes));
|
||||
return testSuccess;
|
||||
}
|
||||
|
||||
|
||||
새 이슈에서 참조
사용자 차단