[flang-commits] [PATCH] D150161: [flang] CUDA Fortran - part 2/5: symbols & scopes

Zhen Wang via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue May 9 11:31:35 PDT 2023


wangzpgi added inline comments.


================
Comment at: flang/lib/Semantics/resolve-names.cpp:3526
+    Say(currStmtSource().value(),
+        "Operands of LAUNCH_BOUNDS() must be two integer constants"_err_en_US);
+  } else if (auto *subp{currScope().symbol()
----------------
Can launch_bounds take third argument of max cluster rank for Hopper?


================
Comment at: flang/lib/Semantics/resolve-names.cpp:3551
+    Say(currStmtSource().value(),
+        "Operands of CLUSTER_DIMS() must be three integer constants"_err_en_US);
+  } else if (auto *subp{currScope().symbol()
----------------
Can cluster_dim take variable argument such as "cluster_dim(x,y,z)", where x, y, and z are integer variables?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150161/new/

https://reviews.llvm.org/D150161



More information about the flang-commits mailing list