barrier: Add OpControlBarrier

This commit is contained in:
ReinUsesLisp 2020-05-15 02:54:06 -03:00
parent 414fc4dbd2
commit a62c5bbc10
2 changed files with 11 additions and 0 deletions

View file

@ -366,6 +366,9 @@ public:
// Barrier
/// Wait for other invocations of this module to reach the current point of execution.
Id OpControlBarrier(Id execution, Id memory, Id semantics);
/// Control the order that memory accesses are observed.
Id OpMemoryBarrier(Id scope, Id semantics);