[flang-commits] [flang] [flang][cuda] Lower launch_bounds values (PR #81537)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Mon Feb 12 20:23:44 PST 2024


================
@@ -113,4 +113,16 @@ def fir_CUDAProcAttributeAttr :
   let assemblyFormat = [{ ```<` $value `>` }];
 }
 
+def fir_CUDALaunchBoundsAttr : fir_Attr<"CUDALaunchBounds"> {
+  let mnemonic = "launch_bounds";
+
+  let parameters = (ins
+    "mlir::IntegerAttr":$maxTBP,
----------------
vzakhari wrote:

```suggestion
    "mlir::IntegerAttr":$maxTPB,
```

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


More information about the flang-commits mailing list