Build fail in LLVM3.5.2.
> -Original Message-
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> Yan Wang
> Sent: Thursday, November 19, 2015 10:41
> To: beignet@lists.freedesktop.org
> Cc: Yan Wang
> Subject: [Beignet] [PATCH v2] Use CreateCall instead of Create
Push, thanks. BTW, please add Signed-off-by next time, it will add automatic
when format-patch with option -s.
> -Original Message-
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> Song, Ruiling
> Sent: Thursday, November 19, 2015 11:12
> To: Giuseppe Bilotta;
LGTM, thanks.
Luo Xionghu
Best Regards
-Original Message-
From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of Yang
Rong
Sent: Tuesday, November 10, 2015 12:10 PM
To: beignet@lists.freedesktop.org
Cc: Yang, Rong R
Subject: [Beignet] [PATCH] Runtime: return the correc
use something like DEBUG_PRINT is better. Need to cleanup the whole library
to fix this type of things.
Thanks,
Zhigang Gong
On Tue, Nov 17, 2015 at 10:11 AM, Song, Ruiling
wrote:
> Hi Zhigang,
>
> Directly remove the output message may be not proper.
> The output message is very useful for us
> -Original Message-
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> Giuseppe Bilotta
> Sent: Thursday, November 19, 2015 3:52 AM
> To: beignet@lists.freedesktop.org
> Cc: Giuseppe Bilotta
> Subject: [Beignet] [PATCH] Fix sizing error for bitfield
>
> The mer
Signed-off-by: Yan Wang
---
backend/src/llvm/llvm_profiling.cpp | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/backend/src/llvm/llvm_profiling.cpp
b/backend/src/llvm/llvm_profiling.cpp
index 8c9157c..3fbd00d 100644
--- a/backend/src/llvm/llvm_profiling.cpp
+++ b/back
>
>
>> -Original Message-
>> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf
>> Of
>> Yan Wang
>> Sent: Wednesday, November 18, 2015 6:47 PM
>> To: beignet@lists.freedesktop.org
>> Cc: Yan Wang
>> Subject: [Beignet] [PATCH] Use CreateCall instead of CreateCall2
>> be
The mergeable field was define as an uint32_t, but MAX_SRC_NUM is now
40, so we need at least an uint64_t.
---
backend/src/backend/gen_insn_selection.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/backend/gen_insn_selection.cpp
b/backend/src/backend/gen_insn_s
> -Original Message-
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> Yan Wang
> Sent: Wednesday, November 18, 2015 6:47 PM
> To: beignet@lists.freedesktop.org
> Cc: Yan Wang
> Subject: [Beignet] [PATCH] Use CreateCall instead of CreateCall2 because
> llvm3.7
CMRT is C for Media Runtime on Intel GPU, see https://github.com/01org/cmrt.
There is a request to make Beignet as intermedia layer of CMRT, in
other words, application programer write OpenCL APIs to execute the
CM kernel on GPU, the following shows the key code, and please refer
to the next patch
Signed-off-by: Yan Wang
---
backend/src/llvm/llvm_profiling.cpp | 18 ++
1 file changed, 18 insertions(+)
diff --git a/backend/src/llvm/llvm_profiling.cpp
b/backend/src/llvm/llvm_profiling.cpp
index 8c9157c..e548305 100644
--- a/backend/src/llvm/llvm_profiling.cpp
+++ b/backend/
LLVM3.8 does not support iterator implicit cast to pointer, so add change
type for these uses. And due to the refine of ScalarEvolution, the using
namespace llvm::legacy is not enough to tell comilper which PassManager
to use, refine the PassManager declaration.
Now CallInst::hasStructRetAttr() wil
1. Add a DebugInfo type structure DBGInfo into context class, storing debug
information.
2. Add a DebugInfo type structure DBGInfo in Instruction class, storing
debug infomation.
3. Pass debug information firstly from llvm IR to Context, then to GEN IR
when emiting, if OCL_DEBUGINFO
1. Add a structure DBGInfo in GenEncoder class, storing debug infomation
for subsequentlt passing to GenInsn.
2. Add a vector in GenEncoder class, storing debug information
corresponding to vector.
3. Pass debug information from SEL IR firstly to Gen Encoder, then add to
vector when
1. Add a DebugInfo type structure DBGInfo in Opaqueue class, storing debug
infomation in selection for subsequentlt passing to selection IR.
2. Add a DebugInfo type structure DBGInfo in SelectionInstruction class,
storing debug infomation.
3. Pass debug information from GEN IR firstly
Print line and column numbers with ASM, if OCL_DEBUGINFO is true.
Signed-off-by: Yannan Bai
---
backend/src/backend/gen_context.cpp | 7 +++
1 file changed, 7 insertions(+)
diff --git a/backend/src/backend/gen_context.cpp
b/backend/src/backend/gen_context.cpp
index cd34649..d66d618 100
1. Add a bool env OCL_DEBUGINFO to enable generate debug infomation while
compiling cl source, set it false as default value.
2. Define a structure type DebugInfo.
Signed-off-by: Yannan Bai
---
backend/src/backend/program.cpp | 2 ++
backend/src/backend/program.h | 5 +
2 files ch
Please hold a little bit. I find many cases failed after apply the patch.
This may be caused by instruction selection part not supporting 64bit address
well.
Thanks!
Ruiling
> -Original Message-
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> Song, Ruiling
>
18 matches
Mail list logo