[Beignet] [PATCH 1/3] Runtime: increase the build log buffer size to 1000.
Chuanbo Weng
chuanbo.weng at intel.com
Thu Apr 17 00:06:08 PDT 2014
From: Zhigang Gong <zhigang.gong at linux.intel.com>
200 is too small sometimes.
Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>
---
src/cl_program.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cl_program.c b/src/cl_program.c
index 10eecee..8ae3aa7 100644
--- a/src/cl_program.c
+++ b/src/cl_program.c
@@ -109,9 +109,9 @@ cl_program_new(cl_context ctx)
p->ref_n = 1;
p->magic = CL_MAGIC_PROGRAM_HEADER;
p->ctx = ctx;
- p->build_log = calloc(200, sizeof(char));
+ p->build_log = calloc(1000, sizeof(char));
if (p->build_log)
- p->build_log_max_sz = 200;
+ p->build_log_max_sz = 1000;
/* The queue also belongs to its context */
cl_context_add_ref(ctx);
--
1.8.3.2
More information about the Beignet
mailing list