[hip] Minor fix to silence compilation warnings.

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


[ROCm/hip commit: 498fe92734]
这个提交包含在:
Michael LIAO 于 2019-06-04 10:39:31 -04:00 提交
1 父节点 654f61549d
当前提交 de162fa300
1 个文件已更改
+1 -1
@@ -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.