SWDEV-470113: Fixing hang on navi33

Change-Id: I5c1d30547039a6f23ab5974f43ea63f971573108


[ROCm/rocprofiler commit: 7e199e6b7a]
This commit is contained in:
Giovanni LB
2024-07-05 15:17:40 -03:00
committed by Giovanni Baraldi
orang tua d29580c94e
melakukan e4e1e4857e
2 mengubah file dengan 13 tambahan dan 6 penghapusan
@@ -83,9 +83,11 @@ void LaunchMultiStreamKernels() {
int blockSize = 64;
// This Kernel will always be launched with one wave
int numBlocks = 1;
for(int i = 0; i < 100; i++) {
for(int j = 0; j < hip_streams.size(); j++)
hipLaunchKernelGGL(add, numBlocks, blockSize, 0, hip_streams[j], N, d_x, d_y);
HIP_ASSERT(hipDeviceSynchronize());
}
//Wait for GPU to finish before accessing on host