Re: [Piglit] [PATCH] Fix cllinkprogram build kernal faill for llvm3.7+

2016-01-29 Thread Serge Martin
On Wednesday 27 January 2016 00:26:30 Meng Mengmeng wrote: > Clang now does not support funciton declration like: > int get_number(); > And it does not support impilict spir-function call. This is strange it seems to work fine here. Do you try with this patch : cl: improve clLinkProgram (https:/

[Piglit] [PATCH] Fix cllinkprogram build kernal faill for llvm3.7+

2016-01-26 Thread Meng Mengmeng
Clang now does not support funciton declration like: int get_number(); And it does not support impilict spir-function call. Signed-off-by: Meng Mengmeng --- tests/cl/api/link-program.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cl/api/link-program.c b/tests