Re: [Beignet] [PATCH] Refine custom unrolling policy.

2016-03-18 Thread Yang, Rong R
; Subject: [Beignet] [PATCH] Refine custom unrolling policy. > > We should use the production of current trip count and parent trip count to > determine whether we should unroll the parent loop. > > Signed-off-by: Zhigang Gong <zhigang.g...@linux.intel.com> > --- > backend/sr

[Beignet] [PATCH] Refine custom unrolling policy.

2016-03-03 Thread Zhigang Gong
We should use the production of current trip count and parent trip count to determine whether we should unroll the parent loop. Signed-off-by: Zhigang Gong --- backend/src/llvm/llvm_unroll.cpp | 21 - 1 file changed, 12 insertions(+), 9