[flang-commits] [flang] [flang][cuda] Extends matching distance computation (PR #91810)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Fri May 10 14:50:14 PDT 2024
================
@@ -2546,15 +2557,33 @@ static int GetMatchingDistance(const characteristics::DummyArgument &dummy,
return 2;
}
} else if (*dummyDataAttr == common::CUDADataAttr::Managed) {
- if (!actualDataAttr || *actualDataAttr == common::CUDADataAttr::Device) {
+ if (!actualDataAttr) {
+ if (isGpuUnified) {
----------------
clementval wrote:
Yeah I like it more like that. Updated
https://github.com/llvm/llvm-project/pull/91810
More information about the flang-commits
mailing list