From 8558eb88d7861c7751004e39a183b870310722c7 Mon Sep 17 00:00:00 2001 From: Sven van Haastregt Date: Tue, 16 Jul 2024 18:52:18 +0200 Subject: [PATCH] computeinfo: add CL_DEVICE_HALF_FP_CONFIG (#2001) The computeinfo test already checks that the cl_khr_fp16 extension is available before querying `CL_DEVICE_HALF_FP_CONFIG`, but never actually made the `CL_DEVICE_HALF_FP_CONFIG` query. Signed-off-by: Sven van Haastregt --- test_conformance/computeinfo/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test_conformance/computeinfo/main.cpp b/test_conformance/computeinfo/main.cpp index b6350c1c2a..478f19f4b9 100644 --- a/test_conformance/computeinfo/main.cpp +++ b/test_conformance/computeinfo/main.cpp @@ -188,6 +188,7 @@ config_info config_infos[] = { CONFIG_INFO(2, 0, CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT, cl_uint), CONFIG_INFO(1, 1, CL_DEVICE_MEM_BASE_ADDR_ALIGN, cl_uint), + CONFIG_INFO(1, 1, CL_DEVICE_HALF_FP_CONFIG, cl_device_fp_config), CONFIG_INFO(1, 1, CL_DEVICE_SINGLE_FP_CONFIG, cl_device_fp_config), CONFIG_INFO(1, 1, CL_DEVICE_DOUBLE_FP_CONFIG, cl_device_fp_config), CONFIG_INFO(1, 1, CL_DEVICE_GLOBAL_MEM_CACHE_TYPE,