mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
[NFC] api: Fix sign-compare warnings (#1692)
Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
a70fa56003
commit
605228ae7f
@@ -2290,7 +2290,7 @@ int test_min_max_device_version(cl_device_id deviceID, cl_context context,
|
||||
{
|
||||
log_info("Checking for required extensions for OpenCL 1.1 and later "
|
||||
"devices...\n");
|
||||
for (int i = 0; i < ARRAY_SIZE(requiredExtensions11); i++)
|
||||
for (size_t i = 0; i < ARRAY_SIZE(requiredExtensions11); i++)
|
||||
{
|
||||
if (!is_extension_available(deviceID, requiredExtensions11[i]))
|
||||
{
|
||||
@@ -2335,7 +2335,7 @@ int test_min_max_device_version(cl_device_id deviceID, cl_context context,
|
||||
{
|
||||
log_info("Checking for required extensions for OpenCL 2.0, 2.1 and "
|
||||
"2.2 devices...\n");
|
||||
for (int i = 0; i < ARRAY_SIZE(requiredExtensions2x); i++)
|
||||
for (size_t i = 0; i < ARRAY_SIZE(requiredExtensions2x); i++)
|
||||
{
|
||||
if (!is_extension_available(deviceID, requiredExtensions2x[i]))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user