[flang-commits] [flang] [flang][cuda] Add cuf.launch_config attribute recording a kernel directive's launch configuration (PR #229980)
Zhen Wang via flang-commits
flang-commits at lists.llvm.org
Wed Oct 7 21:14:31 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";
+}
----------------
wangzpgi wrote:
Good point, `cuf::LaunchConfigAttr::name` already gives the same string. Removed the helper.
https://github.com/llvm/llvm-project/pull/229980
More information about the flang-commits
mailing list