Re: [Beignet] [PATCH 1/2] GBE: Support local variable inside kernel function.

2013-10-14 Thread Zhigang Gong
Pushed, thanks. On Thu, Oct 10, 2013 at 03:13:50PM +0800, Ruiling Song wrote: As Clang treat local variable in similar way like global constant, (they are treated as Global variable in each own address space) we refine the previous constant implementation in order to share same code between

Re: [Beignet] [PATCH 1/2] GBE: Support local variable inside kernel function.

2013-10-13 Thread Yang, Rong R
: Song, Ruiling Subject: [Beignet] [PATCH 1/2] GBE: Support local variable inside kernel function. As Clang treat local variable in similar way like global constant, (they are treated as Global variable in each own address space) we refine the previous constant implementation in order to share

[Beignet] [PATCH 1/2] GBE: Support local variable inside kernel function.

2013-10-10 Thread Ruiling Song
As Clang treat local variable in similar way like global constant, (they are treated as Global variable in each own address space) we refine the previous constant implementation in order to share same code between local variable and global constant. We will allocate an address register for each