[flang-commits] [flang] [flang][cuda] Only convert launch from CUDA Fortran kernels (PR #136221)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Thu Apr 17 17:27:49 PDT 2025


================
@@ -888,6 +888,11 @@ struct CUFLaunchOpConversion
     }
     if (procAttr)
       gpuLaunchOp->setAttr(cuf::getProcAttrName(), procAttr);
+    else
+      // Set default global attribute of the original was not found.
----------------
clementval wrote:

```suggestion
      // Set default global attribute if the original was not found.
```

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


More information about the flang-commits mailing list