[flang-commits] [flang] [flang] [cuda] Move SetImplicityCUDADevice after symbols in block construct are converted to objects (PR #143791)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Thu Jun 12 07:44:25 PDT 2025
================
@@ -2828,6 +2828,17 @@ Scope &ScopeHandler::NonDerivedTypeScope() {
return currScope_->IsDerivedType() ? currScope_->parent() : *currScope_;
}
+static void SetImplicitCUDADevice(bool inDeviceSubprogram, Symbol &symbol) {
----------------
klausler wrote:
Maybe the calls to this function should be conditional on `inDeviceSubprogram` instead of passing the condition to it as an argument.
https://github.com/llvm/llvm-project/pull/143791
More information about the flang-commits
mailing list