mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-22 07:09:03 +00:00
3719a0183c6187f54c42723890b30b7756af8ed1
The current test would always end up assuming a minimum of 16 KB regardless of the exposed OpenCL version, and the logic for testing the OpenCL version was hard to follow. Besides fixing the test for OpenCL 1.1 through 2.1, it also * adds support for OpenCL 2.2, 3.0, and future OpenCL versions (as long as `get_device_cl_version()` supports those); * adapts the error message to mention the currently exposed OpenCL version rather than a hardcoded OpenCL 1.1; * reports the advertised local memory size as KB and not Kb, since local memory size is given in bytes.
Description
Languages
C++
84.5%
C
14.7%
CMake
0.5%
Python
0.3%