mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 14:09:03 +00:00
fffd4f24742529c7f83c4d1efdda1b04f9be9056
The called function (get_device_info_string) subtracts 1 from length before returning it. Hence, to check for an empty string (that the spec requires the implementation to return when CL_DEVICE_IL_VERSION is not supported) the check should be modified to check for empty and not length == 1
Description
Languages
C++
84.5%
C
14.7%
CMake
0.5%
Python
0.3%