math_brute_force: remove LogBuildError (#2233)

`LogBuildError` was only ever called after `clSetKernelArg`, but setting
a kernel argument has no impact on the program build log. Printing of
the actual build log in case of a build failure is already handled via
`create_single_kernel_helper`.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
Sven van Haastregt
2025-02-06 19:43:00 +01:00
committed by GitHub
parent 2031e21a58
commit a8b32b2720
41 changed files with 324 additions and 727 deletions

View File

@@ -114,9 +114,6 @@ inline double DoubleFromUInt32(uint32_t bits)
return u.d;
}
void _LogBuildError(cl_program p, int line, const char *file);
#define LogBuildError(program) _LogBuildError(program, __LINE__, __FILE__)
// The spec is fairly clear that we may enforce a hard cutoff to prevent
// premature flushing to zero.
// However, to avoid conflict for 1.0, we are letting results at TYPE_MIN +