[flang-commits] [flang] [flang][cuda] Update cuda data transfer rules for full managed assigment (PR #175243)
Zhen Wang via flang-commits
flang-commits at lists.llvm.org
Fri Jan 9 14:02:02 PST 2026
================
@@ -588,3 +588,19 @@ end subroutine
! CHECK: %{{.*}} = cuf.alloc !fir.type<_QMmod1Tt3{spheres:!fir.box<!fir.heap<!fir.array<?x!fir.type<_QMmod1Ts{c:!fir.array<3xf32>}>>>>}> {bindc_name = "t", data_attr = #cuf.cuda<managed>, uniq_name = "_QFsub30Et"} -> !fir.ref<!fir.type<_QMmod1Tt3{spheres:!fir.box<!fir.heap<!fir.array<?x!fir.type<_QMmod1Ts{c:!fir.array<3xf32>}>>>>}>>
! CHECK: hlfir.assign
! CHECK-NOT: cuf.data_transfer
+
+! Test that assigment with onlt managed variables on both rhs and lhs is done
----------------
wangzpgi wrote:
typo: onlt?
https://github.com/llvm/llvm-project/pull/175243
More information about the flang-commits
mailing list