-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[mlir] minor documentation fix in GPUTransformOps.td #121157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- do not refer to handles as `PDLOperation`, this is an outdated and incorrect vision of what they are based on the type used in the early days; - use backticks around inline code.
@llvm/pr-subscribers-mlir @llvm/pr-subscribers-mlir-gpu Author: Oleksandr "Alex" Zinenko (ftynse) Changes
Full diff: https://github.com/llvm/llvm-project/pull/121157.diff 1 Files Affected:
diff --git a/mlir/include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.td b/mlir/include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.td
index 80b4547c32c101..61d4ccec5f0bd5 100644
--- a/mlir/include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.td
+++ b/mlir/include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.td
@@ -168,13 +168,13 @@ def MapNestedForallToThreads :
#### Return modes:
- This operation ignores non-gpu_launch ops and drops them in the return.
+ This operation ignores non-`gpu_launch` ops and drops them in the return.
If any scf.forall with tensors is found, the transform definitely
fails.
- If all the scf.forall operations with gpu.thread mapping contained
- within the LaunchOp referred to by the `target` PDLOperation lower to GPU
+ If all the `scf.forall` operations with gpu.thread mapping contained
+ within the `LaunchOp` referred to by the `target` handle lower to GPU
properly, the transform succeeds. Otherwise the transform definitely
fails.
@@ -277,8 +277,8 @@ def MapForallToBlocks :
If any scf.forall with tensors is found, the transform definitely
fails.
- If all the scf.forall operations contained within the LaunchOp
- referred to by the `target` PDLOperation lower to GPU properly, the
+ If all the `scf.forall` operations contained within the LaunchOp
+ referred to by the `target` handle lower to GPU properly, the
transform succeeds. Otherwise the transform definitely fails.
The returned handle points to the same LaunchOp operand, consuming it and
|
Trivial documentation change, merging. |
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/52/builds/4798 Here is the relevant piece of the build log for the reference
|
PDLOperation
, this is an outdated and incorrect vision of what they are based on the type used in the early days;