- the !gpu.async.token is the second result of 'gpu.alloc async', not the first.
- async.execute construction takes operand types not yet wrapped in !async.value.
- fix typo
Details
Details
- Reviewers
herhut - Commits
- rGa79b26db0e96: [mlir] Fix for gpu-async-region pass.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60 ms | x64 windows > LLVM.CodeGen/XCore::threads.ll |
Event Timeline
Comment Actions
There should be some test that captures this.
mlir/lib/Dialect/GPU/Transforms/AsyncRegionRewriter.cpp | ||
---|---|---|
174 | Should this be asserted in case the assumption changes? |
Comment Actions
lgtm with extra test.
mlir/test/Dialect/GPU/async-region.mlir | ||
---|---|---|
30 | Can you add an example where the async.execute returns a value beyond the token so that we can test that types get rewritten correctly? |
Should this be asserted in case the assumption changes?