Files
OpenCL-CTS/test_conformance/relationals
Sven van Haastregt a130f3d179 relationals: fix out of bounds accesses in shuffle test (#1961)
The values in `src` are indices into an array in `get_order_string()`.
Not initializing `src` resulted in out of bounds accesses there.

It seems that when the out of bounds accesses happened, the result of
`get_order_string()` was not actually used, so at least the test was not
using random data. Fix the issue as it prevents a clean run of this test
with e.g. AddressSanitizer.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
2024-06-04 09:38:44 -07:00
..
2023-01-14 15:18:27 +00:00