Files
OpenCL-CTS/test_conformance
Sven van Haastregt 1e5b5c96e2 math_brute_force: Remove unnecessary gotos (#1605)
Simplify code by returning directly instead of using goto statements.

Although intended as an NFC commit, this changes the behaviour around
clFlush calls.  Before this commit, failure of the third clFlush call
would print "clFlush 3 failed" and return the clFlush error code.
This behaviour is inconsistent with the other clFlush calls in
math_brute_force, which are not fatal.  The lack of a `goto exit`
makes me suspect that this 3rd clFlush call was intended to be
non-fatal too.  As such, this commit makes all clFlush calls non-fatal
by returning `CL_SUCCESS` even when the third clFlush call fails.

Original patch by Marco Antognini.

Signed-off-by: Marco Antognini <marco.antognini@arm.com>
Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
2023-02-07 09:01:07 -08:00
..
2021-05-18 18:12:55 +01:00
2023-01-24 08:53:18 -08:00
2020-07-23 17:21:07 +01:00
2023-02-06 15:09:04 +00:00
2023-01-14 15:18:27 +00:00
2023-01-24 08:48:53 -08:00
2023-02-07 08:46:15 -08:00
2023-01-31 09:50:21 -08:00