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

[hip] Minor fix to silence compilation warnings.
Этот коммит содержится в:
Maneesh Gupta
2019-06-05 12:13:35 +05:30
коммит произвёл GitHub
родитель 48e657b099 2655003fde
Коммит e088678355
+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.