Files
OpenCL-CTS/test_conformance
Sven van Haastregt 1d3ad8d791 mem_host_flags: check returned pointer for NULL (#1924)
The specification states that `clEnqueueMapImage` and
`clEnqueueMapBuffer` should return NULL on error. Ensure this is
checked.

This testing gap was caught by a compiler warning about `dataPtr` being
written but not read. With this fix, there are no more
Wunused-but-set-variable warnings in this test, so reenable the warning.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
2024-05-29 15:11:32 -07:00
..
2024-04-16 08:54:28 -07:00
2023-05-03 09:16:21 +01:00
2024-03-27 14:46:27 +01:00
2024-05-21 08:44:28 -07:00