[llvm-branch-commits] [flang] [mlir] [acc] Specialize acc.on_device with constant arg for device (PR #208099)

Ivan R. Ivanov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jul 8 09:58:39 PDT 2026


ivanradanov wrote:

Thank you for the comments @razvanlupusoru . I made the pass configurable by letting the user of the pass specify what the device types corresponding to the device are. This way each user can pass in their value of the runtime values `acc_device_not_host` and `acc_device_*` that corresponds to the device type that is being specialized for (and any other value they also need to be folded to true).

How does this look?

https://github.com/llvm/llvm-project/pull/208099


More information about the llvm-branch-commits mailing list