File tree Expand file tree Collapse file tree 5 files changed +43403
-2
lines changed Expand file tree Collapse file tree 5 files changed +43403
-2
lines changed Original file line number Diff line number Diff line change @@ -9561,8 +9561,7 @@ void ResolveNamesVisitor::CreateGeneric(const parser::GenericSpec &x) {
9561
9561
static void SetImplicitCUDADevice (bool inDeviceSubprogram, Symbol &symbol) {
9562
9562
if (inDeviceSubprogram && symbol.has <ObjectEntityDetails>()) {
9563
9563
auto *object{symbol.detailsIf <ObjectEntityDetails>()};
9564
- if (!object->cudaDataAttr () && !IsValue (symbol) &&
9565
- !IsFunctionResult (symbol)) {
9564
+ if (!object->cudaDataAttr () && !IsFunctionResult (symbol)) {
9566
9565
// Implicitly set device attribute if none is set in device context.
9567
9566
object->set_cudaDataAttr (common::CUDADataAttr::Device);
9568
9567
}
Original file line number Diff line number Diff line change
1
+ !mod $ v1 sum: dcc937f37583c496
2
+ module char1
3
+ character(1 _8,1 ),allocatable:: da(: )
4
+ attributes(device) da
5
+ character(1 _8,1 ),allocatable:: db(: )
6
+ attributes(device) db
7
+ contains
8
+ attributes(device) function check_char(c1,c2)
9
+ character(1 _8,1 ),value:: c1
10
+ character(1 _8,1 ),value:: c2
11
+ logical(4 ):: check_char
12
+ end
13
+ end
You can’t perform that action at this time.
0 commit comments