[hip] Minor fix to silence compilation warnings.

- Add parenthese to silence repeative compilation warnings across
  projects built against hip.
This commit is contained in:
Michael LIAO
2019-05-24 10:22:42 -04:00
orang tua 48e657b099
melakukan 2655003fde
@@ -1007,7 +1007,7 @@ void __syncthreads()
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.