mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Use the appropriate function for verifying double precision values in the `pipe_readwrite_double` test. Change `verify_readwrite_double` to use `cl_long`, as `long long int` could be wider than 64 bits which would cause out-of-bound reads. This leaves no functional differences between `verify_readwrite_double` and `verify_readwrite_long`. Found by compiling with `-Wunused-function`, which flagged `verify_readwrite_double` as unused. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com> Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>