d5fc1b3703
* SWDEV-548838 Add local and global fence support for barrier function The original barrier function didn't distinct between local and global scope. There was only __CLK_LOCAL_MEM_FENCE which triggers both local and global fence. This commit introduces __CLK_LOCAL_MEM_FENCE and __CLK_GLOBAL_MEM_FENCE that properly distinguish the scopes. --------- Co-authored-by: Tim <Tim.Gu@Amd.com> Co-authored-by: systems-assistant[bot] <systems-assistant[bot]@users.noreply.github.com> Co-authored-by: Tim Gu <timgu102@amd.com>