projects
/
contrib
/
beignet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76411af
)
Runtime: increase the build log buffer size to 1000.
author
Zhigang Gong
<zhigang.gong@linux.intel.com>
Thu, 17 Apr 2014 05:11:50 +0000
(13:11 +0800)
committer
Zhigang Gong
<zhigang.gong@intel.com>
Thu, 17 Apr 2014 07:05:56 +0000
(15:05 +0800)
200 is too small sometimes.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Reviewed-by: He Junyan <junyan.he@inbox.com>
src/cl_program.c
patch
|
blob
|
history
diff --git
a/src/cl_program.c
b/src/cl_program.c
index
10eecee
..
8ae3aa7
100644
(file)
--- 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(
2
00, sizeof(char));
+ p->build_log = calloc(
10
00, sizeof(char));
if (p->build_log)
- p->build_log_max_sz =
2
00;
+ p->build_log_max_sz =
10
00;
/* The queue also belongs to its context */
cl_context_add_ref(ctx);