[Mlir-commits] [flang] [llvm] [mlir] [flang][cuda] Support non-allocatable module-level managed variables (PR #188526)

Valentin Clement バレンタイン クレメン llvmlistbot at llvm.org
Wed Mar 25 09:59:32 PDT 2026


================
@@ -1350,17 +1372,21 @@ inline bool IsCUDADataTransfer(const A &lhs, const B &rhs) {
   int rhsNbManagedSymbols{GetNbOfCUDAManagedOrUnifiedSymbols(rhs)};
   int rhsNbSymbols{GetNbOfCUDADeviceSymbols(rhs)};
 
+  if (HasNonAllocatableModuleCUDAManagedSymbols(lhs))
+    return false;
----------------
clementval wrote:

Why do you need this change here? 

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


More information about the Mlir-commits mailing list