mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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:
committed by
GitHub
parent
2031e21a58
commit
a8b32b2720
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user