Fix warning now treated as error (#2107)
Following the re-enablement of narrowing warnings, this fixes a compilation error when running the `ubuntu 22.04 arm` GitHub action. Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
This commit is contained in:
parent
b64f429b4a
commit
1527c4e425
1 changed files with 2 additions and 1 deletions
|
|
@ -88,7 +88,8 @@ template <RunMode mode> struct InvalidCommandQueue : public SemaphoreTestBase
|
|||
}
|
||||
|
||||
cl_device_partition_property partitionProp[] = {
|
||||
CL_DEVICE_PARTITION_EQUALLY, maxComputeUnits / 2, 0
|
||||
CL_DEVICE_PARTITION_EQUALLY,
|
||||
static_cast<cl_device_partition_property>(maxComputeUnits / 2), 0
|
||||
};
|
||||
|
||||
cl_uint deviceCount = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue