[vdi] Fix -Wsign-compare warning. NFC.
- TeamCity build failed as `-Werror` is turned on. Change-Id: Icd2cbd45f60e3c296894e8e73685e1d177f125a8
This commit is contained in:
1 parent
b72ec19c0e
commit
7e051d8a96
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -309,7 +309,7 @@ hipError_t ihipModuleLaunchKernel(hipFunction_t f,
|
||||
int block_size = blockDimX * blockDimY * blockDimZ;
|
||||
hip_impl::ihipOccupancyMaxActiveBlocksPerMultiprocessor(
|
||||
&num_blocks, &num_grids, device, f, block_size, sharedMemBytes, true);
|
||||
if (((gridDimX * gridDimY * gridDimZ) / block_size) > num_grids) {
|
||||
if (((gridDimX * gridDimY * gridDimZ) / block_size) > unsigned(num_grids)) {
|
||||
return hipErrorCooperativeLaunchTooLarge;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user