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

Zhen Wang via flang-commits flang-commits at lists.llvm.org
Thu Apr 17 16:37: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.
----------------
wangzpgi wrote:

of -> if?

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


More information about the flang-commits mailing list