change to fprintf
This commit is contained in:
parent
4a55951464
commit
e1ee2810ea
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ static cl_program build_program_from_source(cl_context ctx, cl_device_id dev, co
|
|||
program_log = (char*) malloc(log_size + 1);
|
||||
program_log[log_size] = '\0';
|
||||
clGetProgramBuildInfo(p, dev, CL_PROGRAM_BUILD_LOG, log_size + 1, program_log, NULL);
|
||||
printf("%s\n", program_log);
|
||||
fprintf(stderr, "ggml_opencl: kernel compile error:\n\n%s\n", program_log);
|
||||
free(program_log);
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue