SWDEV-470113: Fixing hang on navi33

Change-Id: I5c1d30547039a6f23ab5974f43ea63f971573108
This commit is contained in:
Giovanni LB
2024-07-05 15:17:40 -03:00
committed by Giovanni Baraldi
parent 70fedc5195
commit 7e199e6b7a
2 changed files with 13 additions and 6 deletions
@@ -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