mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 14:09:03 +00:00
The input buffer to tests in execute_block suite is set to some value (0xdeadbeef) but supposed to be reset in each test such so that observing 0 after executing the test guarantees that the status is that of the test and not a pre-existing value. This commit adds missing initialisation to block_barrier kernel code and removes an extra redundant barrier at the end. This test is the last in the suite. After executing other tests the input/output buffer is not being reset on a host side and therefore running the test after successful execution of the previous test (resulting in writing expected 0 into the buffer) was hiding the problem. Change-Id: Ia9310d095993703c32ee1f664aed9ff72b26367a Signed-off-by: Anastasia Stulova <anastasia.stulova@arm.com> Signed-off-by: Kevin Petit <kevin.petit@arm.com>
30 KiB
30 KiB