[Libclc-dev] [PATCH 1/1] r600: Add fence implementation, rework barrier

Matt Arsenault Matthew.Arsenault at amd.com
Wed Apr 30 18:21:07 PDT 2014


On 04/30/2014 06:12 PM, Jan Vesely wrote:
> Matt, is no AS argument a problem? OpenCL allows fences only on local
> and global AS, and since we don't need any for LDS, I thought having
> implicit global AS was ok.

Yes. Fencing all address spaces always would be unfortunate. I would be 
most concerned about not allowing private loads and stores to be moved 
across fences, which should always be OK, and would help reduce register 
usage




More information about the Libclc-dev mailing list