[hip] Minor fix to silence compilation warnings.

- Add parenthese to silence repeative compilation warnings across
  projects built against hip.


[ROCm/clr commit: 2655003fde]
This commit is contained in:
Michael LIAO
2019-05-24 10:22:42 -04:00
parent fb0b752204
commit a56332edc7
@@ -1007,7 +1007,7 @@ void __syncthreads()
SIZE 15:11 Range: 1..32 SIZE 15:11 Range: 1..32
*/ */
#define GETREG_IMMED(SZ,OFF,REG) (SZ << 11) | (OFF << 6) | REG #define GETREG_IMMED(SZ,OFF,REG) (((SZ) << 11) | ((OFF) << 6) | (REG))
/* /*
__smid returns the wave's assigned Compute Unit and Shader Engine. __smid returns the wave's assigned Compute Unit and Shader Engine.