Merge pull request #1157 from mhbliao/hliao/master/misc

[hip] Minor fix to silence compilation warnings.

[ROCm/clr commit: e088678355]
This commit is contained in:
Maneesh Gupta
2019-06-05 12:13:35 +05:30
کامیت شده توسط GitHub
کامیت fcb17fb7c9
@@ -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.