[vdi] Fix -Wsign-compare warning. NFC.

- TeamCity build failed as `-Werror` is turned on.

Change-Id: Icd2cbd45f60e3c296894e8e73685e1d177f125a8
This commit is contained in:
Michael LIAO
2020-04-06 12:16:07 -04:00
parent 056a2d7227
commit 679f49c904
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -732,7 +732,7 @@ hipError_t ihipOccupancyMaxActiveBlocksPerMultiprocessor(
}
// Make sure the requested block size is smaller than max supported
if (blockSize > device.info().maxWorkGroupSize_) {
if (blockSize > int(device.info().maxWorkGroupSize_)) {
numBlocks = 0;
numGrids = 0;
return hipSuccess;