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

@@ -981,19 +981,6 @@ static void ReleaseCL(void)
}
}
void _LogBuildError(cl_program p, int line, const char *file)
{
char the_log[2048] = "";
vlog_error("%s:%d: Build Log:\n", file, line);
if (0
== clGetProgramBuildInfo(p, gDevice, CL_PROGRAM_BUILD_LOG,
sizeof(the_log), the_log, NULL))
vlog_error("%s", the_log);
else
vlog_error("*** Error getting build log for program %p\n", p);
}
int InitILogbConstants(void)
{
int error;