mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user