Skip to content

Commit

Permalink
Merge pull request #1157 from mhbliao/hliao/master/misc
Browse files Browse the repository at this point in the history
[hip] Minor fix to silence compilation warnings.
  • Loading branch information
mangupta committed Jun 5, 2019
2 parents ad7e545 + 498fe92 commit a21dc71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/hip/hcc_detail/device_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a21dc71

Please sign in to comment.