summaryrefslogtreecommitdiff
path: root/utests/compiler_local_slm.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Silence some compilation warnings.Zhigang Gong2014-05-281-2/+1
| | | | | Signed-off-by: Zhigang Gong <zhigang.gong@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
* GBE: Support local variable inside kernel function.Ruiling Song2013-10-141-3/+27
| | | | | | | | | | | | | | | 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 GlobalVariable (constant or local) through calling newRegister(). In later step, through getRegister() we will get a proper register derived from the allocated address register. Signed-off-by: Ruiling Song <ruiling.song@intel.com> Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
* Added support for some Gen extensions. The idea is mostly to play with Genbsegovia2012-09-171-19/+0
| | | | | | | | | | | | | | | | specific hardware and propose simple way to use them. We have three extensions here: - Gen register regions. This allows us to perform strided loads in the register file. To implement that on top of OCL, the idea is to encapsulate them in a function with a side effect. Not really clean but it works. - Gen gather from register file. Same idea but here we simply gather data from a bunch of registers - Vote any/all. This is basically the same idea as ptx i.e. uniform predicates for branches. - block read/write. Just to play with uniform load/store messages I added a bunch of tests for all that and fix thing here and there to make them work
* Started to support __local and __constantBenjamin Segovia2012-08-101-0/+29