We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e24c6a1 commit 4c96b3eCopy full SHA for 4c96b3e
flang/lib/Semantics/resolve-names.cpp
@@ -2830,7 +2830,8 @@ Scope &ScopeHandler::NonDerivedTypeScope() {
2830
2831
static void SetImplicitCUDADevice(Symbol &symbol) {
2832
if (auto *object{symbol.detailsIf<ObjectEntityDetails>()}) {
2833
- if (!object->cudaDataAttr() && !IsValue(symbol) && !IsFunctionResult(symbol)) {
+ if (!object->cudaDataAttr() && !IsValue(symbol) &&
2834
+ !IsFunctionResult(symbol)) {
2835
// Implicitly set device attribute if none is set in device context.
2836
object->set_cudaDataAttr(common::CUDADataAttr::Device);
2837
}
0 commit comments