aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorReinUsesLisp <[email protected]>2020-05-15 02:54:06 -0300
committerReinUsesLisp <[email protected]>2020-05-15 02:54:06 -0300
commita62c5bbc100a5e5a31ea0ccc4a78d8fa6a4167ce (patch)
treefb43f743aebb56b68e3a5fec75505f9a69b68e93 /include
parent414fc4dbd28d8fe48f735a0c389db8a234f733c0 (diff)
downloadsirit-a62c5bbc100a5e5a31ea0ccc4a78d8fa6a4167ce.tar.gz
sirit-a62c5bbc100a5e5a31ea0ccc4a78d8fa6a4167ce.zip
barrier: Add OpControlBarrier
Diffstat (limited to 'include')
-rw-r--r--include/sirit/sirit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h
index d9e9a8c..1fb8013 100644
--- a/include/sirit/sirit.h
+++ b/include/sirit/sirit.h
@@ -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);