[flang-commits] [flang] [flang][OpenMP] Support custom mappers in target update to/from clauses (PR #169673)
Akash Banerjee via flang-commits
flang-commits at lists.llvm.org
Thu Dec 4 11:01:32 PST 2025
================
----------------
TIFitis wrote:
```
# .---command stderr------------
# | /home/akash/Documents/llvm-work/offload/test/offloading/fortran/target-declare-mapper-to-from.f90:68:11: error: CHECK: expected string not found in input
# | ! CHECK: Sum of b with default mapper: 3000
# | ^
# | <stdin>:3:36: note: scanning from here
# | Sum of a with default mapper: 2000
# | ^
# | <stdin>:4:2: note: possible intended match here
# | Sum of b with default mapper: 0
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/akash/Documents/llvm-work/offload/test/offloading/fortran/target-declare-mapper-to-from.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: Sum of a after update from device: 1000
# | 2: Sum of b (never mapped): 10100
# | 3: Sum of a with default mapper: 2000
# | check:68'0 X error: no match found
# | 4: Sum of b with default mapper: 0
# | check:68'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:68'1 ? possible intended match
# | 5: Test passed!
# | check:68'0 ~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
```
This test does not pass on AMDGPU in it's current state [c620237](https://github.com/llvm/llvm-project/commit/c6202377c731b5ee10b87695c50d66845379343c)
https://github.com/llvm/llvm-project/pull/169673
More information about the flang-commits
mailing list