-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve/fix translation of SPIR-V OpControlBarier to OCL1.2
This patch features two things: - fixed translation of OpControlBarrier into OpenCL 2.0 built-ins: Scope of the operation is now respected and we can either get work_group_barrier or sub_group_barrier depending on it - improved the translation so it handles non-constant 'Memory Semantic' operand of the instruction
- Loading branch information
1 parent
e4e8888
commit 33d1092
Showing
2 changed files
with
28 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters