[flang-commits] [flang] [flang][cuda] Extends matching distance computation (PR #91810)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Fri May 10 14:12:15 PDT 2024


================
@@ -102,7 +103,13 @@ std::string AsFortran(IgnoreTKRSet tkr) {
 /// dummy argument attribute while `y` represents the actual argument attribute.
 bool AreCompatibleCUDADataAttrs(std::optional<CUDADataAttr> x,
     std::optional<CUDADataAttr> y, IgnoreTKRSet ignoreTKR,
-    bool allowUnifiedMatchingRule) {
+    bool allowUnifiedMatchingRule, const LanguageFeatureControl *features) {
+  bool isGpuManaged = features
----------------
klausler wrote:

Please use braced initialization in semantics.

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


More information about the flang-commits mailing list