[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 committed 2019-06-04 10:39:31 -04:00
1 親 654f61549d
コミット de162fa300
1ファイル変更
+1 -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.