[flang-commits] [flang] [flang][cuda] Unify registration under -gpu=mem:unified (PR #212871)
Vijay Kandiah via flang-commits
flang-commits at lists.llvm.org
Wed Jul 29 15:50:55 PDT 2026
================
@@ -346,7 +346,8 @@ def cuf_RegisterVariableStaticOp : cuf_Op<"register_variable_static", []> {
let arguments = (ins
SymbolRefAttr:$global,
StrAttr:$varName,
- I64Attr:$size
+ I64Attr:$size,
+ UnitAttr:$deviceResident
----------------
VijayKandiah wrote:
The summary and description only describe the device-resident case, and say nothing about what the deviceResident attribute's absence means. Should they be updated to cover both cases?
https://github.com/llvm/llvm-project/pull/212871
More information about the flang-commits
mailing list