Sreelakshmi Haridas Maruthur 79f692d8e5 subgroups: Fix setting cl_halfs and progress check. (#1278)
* subgroups: Fix setting cl_halfs and progress check.

cl_float testing uses set_value such that a generated cl_ulong of 1 is
stored as 1.0F in a logical sense. However, cl_half values aren't
intrinsic to C++ and generated cl_ulongs less than 1024 in particular
are interpreted bitwise as subnormals. The test fails on compute devices
lacking subnormal support. Perform the logical conversion to cl_half.

Fix independent forward progress check.

* subgroups_half: Address review comments

* subgroups_half: Formatting fixes required by check-format

* subgroups_half: Modified to query and use rounding mode supported by device

Co-authored-by: spauls <spauls@qti.qualcomm.com>
2021-07-21 08:51:29 +01:00
2021-05-21 10:06:13 +01:00
2018-10-10 16:02:58 -04:00
2021-05-13 09:13:03 +01:00

OpenCL-CTS Build Status

The OpenCL Conformance Tests

Description
No description provided
Readme 44 MiB
Languages
C++ 84.5%
C 14.7%
CMake 0.5%
Python 0.3%