2
0

[hip] Minor fix to silence compilation warnings.

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


[ROCm/clr commit: 2655003fde]
Este cometimento está contido em:
Michael LIAO
2019-05-24 10:22:42 -04:00
ascendente fb0b752204
cometimento a56332edc7
+1 -1
Ver ficheiro
@@ -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.