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

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

Change-Id: Icd2cbd45f60e3c296894e8e73685e1d177f125a8
This commit is contained in:
Michael LIAO committed 2020-04-06 12:16:07 -04:00
1 parent b72ec19c0e
commit 7e051d8a96
2 files changed
+2 -2

No files matched your search

+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;