added stream synch after hipMemset (#609)

[ROCm/rccl commit: 06bce9d0c9]
This commit is contained in:
akolliasAMD
2022-08-30 16:18:37 -06:00
committato da GitHub
parent f18868f439
commit 2cd63dac42
5 ha cambiato i file con 5 aggiunte e 3 eliminazioni
@@ -616,7 +616,7 @@ int main(int argc,char* argv[])
HIPCHECK(hipStreamSynchronize(stream[i]));
HIPCHECK(hipMemset(d_profiling_data[i], 0, sizeof(struct profiling_data_t)));
}
HIPCHECK(hipStreamSynchronize(NULL));
auto start = std::chrono::high_resolution_clock::now();
for (int j = 0; j < iters; j ++) {
for (int i = 0; i < nGpu; i ++) {