[hip] Minor fix to silence compilation warnings.

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


[ROCm/clr commit: 2655003fde]
Cette révision appartient à :
Michael LIAO
2019-05-24 10:22:42 -04:00
Parent fb0b752204
révision a56332edc7
+1 -1
Voir le fichier
@@ -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.