Skip to content

Commit

Permalink
computeinfo: add CL_DEVICE_HALF_FP_CONFIG
Browse files Browse the repository at this point in the history
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 <sven.vanhaastregt@arm.com>
  • Loading branch information
svenvh committed Jul 5, 2024
1 parent 6b4d57d commit 32414c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test_conformance/computeinfo/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ config_info config_infos[] = {
CONFIG_INFO(1, 1, CL_DEVICE_MEM_BASE_ADDR_ALIGN, cl_uint),
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_HALF_FP_CONFIG, cl_device_fp_config),
CONFIG_INFO(1, 1, CL_DEVICE_GLOBAL_MEM_CACHE_TYPE,
cl_device_mem_cache_type),
CONFIG_INFO(1, 1, CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE, cl_uint),
Expand Down

0 comments on commit 32414c8

Please sign in to comment.