[Mlir-commits] [mlir] [mlir][gpu] Add field to mark asynchronous side effects (PR #72013)
Mehdi Amini
llvmlistbot at llvm.org
Sat Nov 11 01:00:51 PST 2023
================
@@ -183,6 +184,9 @@ class SideEffect<EffectOpInterfaceBase interface, string effectName,
// Does this side effect act on every single value of resource.
bit effectOnFullRegion = range.Value;
+
+ // Does this side effect potentially occur after op exit
+ bit asynchronous = isAsync;
----------------
joker-eph wrote:
This is a tricky semantics to add. I actually am not sure how to model this.
How are we supposed to reason about Effects which have this bit set?
Feel this is deep enough of a change that we should have a clear description of this in a proposal on Discourse.
https://github.com/llvm/llvm-project/pull/72013
More information about the Mlir-commits
mailing list