Fix a build error on signed/unsigned comparison
Change-Id: Ic79eb4c3ec5c6fd36cea7c4810d990619f08b9e1
[ROCm/clr commit: 766e708535]
Ta zmiana jest zawarta w:
%! (template.HTML=
Joseph Greathouse)złożyło 2020-05-28 14:27:16 -05:00
1 rodzic
640559bdcb
złożenie
9b1faa7db0
Plik 1 zmieniony
+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
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika