25fa1336e6
1. The variable is brought outside the conditional so that its scope is increased
Change-Id: I2d2689553e67930050fe5b3648739f0f72c3bbc8
[ROCm/hip commit: 3be747c41e]