Fix a build error on signed/unsigned comparison

Change-Id: Ic79eb4c3ec5c6fd36cea7c4810d990619f08b9e1


[ROCm/hip commit: 1f25e4956c]
Этот коммит содержится в:
Joseph Greathouse
2020-05-28 12:18:09 -05:00
родитель 7002be9c95
Коммит 6690e7a9e0
+1 -1
Просмотреть файл
@@ -878,7 +878,7 @@ hipError_t ihipOccupancyMaxActiveBlocksPerMultiprocessor(
}
}
else {
if (inputBlockSize > device.info().maxWorkGroupSize_ ||
if (inputBlockSize > int(device.info().maxWorkGroupSize_) ||
inputBlockSize == 0) {
// The user wrote the kernel to work with a workgroup size
// bigger than this hardware can support. Or they do not care