[flang-commits] [flang] [flang][cuda] Add cuf.launch_config attribute recording a kernel directive's launch configuration (PR #229980)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Wed Oct 7 21:07:44 PDT 2026
================
@@ -64,6 +64,12 @@ static constexpr llvm::StringRef getClusterDimsAttrName() {
return "cuf.cluster_dims";
}
+/// Attribute to carry a kernel directive's launch configuration as written
+/// (a cuf::LaunchConfigAttr).
+static constexpr llvm::StringRef getLaunchConfigAttrName() {
+ return "cuf.launch_config";
+}
----------------
clementval wrote:
Is this necessary? `cuf::LaunchConfigAttr::name` should return this name normally.
https://github.com/llvm/llvm-project/pull/229980
More information about the flang-commits
mailing list