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
@@ -71,11 +71,11 @@ int test_min_image_formats(cl_device_id device, cl_context context,
|
||||
int supports_3D_image_writes =
|
||||
is_extension_available(device, "cl_khr_3d_image_writes");
|
||||
|
||||
for (int t = 0; t < ARRAY_SIZE(image_types); t++)
|
||||
for (size_t t = 0; t < ARRAY_SIZE(image_types); t++)
|
||||
{
|
||||
const cl_mem_object_type type = image_types[t];
|
||||
log_info(" testing %s...\n", convert_image_type_to_string(type));
|
||||
for (int f = 0; f < ARRAY_SIZE(mem_flags); f++)
|
||||
for (size_t f = 0; f < ARRAY_SIZE(mem_flags); f++)
|
||||
{
|
||||
const cl_mem_flags flags = mem_flags[f];
|
||||
const char* testTypeString = flags == CL_MEM_READ_ONLY
|
||||
|
||||
Reference in New Issue
Block a user