LGTM, thanks, pushed.
> -----Original Message----- > From: Beignet [mailto:[email protected]] On Behalf Of > Pan Xiuli > Sent: Wednesday, November 25, 2015 9:56 > To: [email protected] > Cc: Pan, Xiuli > Subject: [Beignet] [PATCH] Backend: Add gen9 barrier prediction setting > > Gen9 have a different context to emit BarrierInst that contains wait > instruction, and wait instruction need to be no predication. > > Signed-off-by: Pan Xiuli <[email protected]> > --- > backend/src/backend/gen9_context.cpp | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/backend/src/backend/gen9_context.cpp > b/backend/src/backend/gen9_context.cpp > index 326f5a1..c35293a 100644 > --- a/backend/src/backend/gen9_context.cpp > +++ b/backend/src/backend/gen9_context.cpp > @@ -51,6 +51,7 @@ namespace gbe > p->BARRIER(src); > p->curr.execWidth = 1; > // Now we wait for the other threads > + p->curr.predicate = GEN_PREDICATE_NONE; > p->WAIT(); > p->pop(); > } > -- > 2.1.4 > > _______________________________________________ > Beignet mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/beignet _______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
