[flang-commits] [flang] [flang][cuda][openacc] Emit an error when CUDA symbols are imported with CUDA disabled (PR #205427)
Zhen Wang via flang-commits
flang-commits at lists.llvm.org
Tue Jun 23 14:01:44 PDT 2026
wangzpgi wrote:
Does this also need to include CUDA attributes on derived type components? For example:
```
type dt
real, device, pointer :: dp
end type
```
ScopeHasCUDAModuleVariables() seems to only check direct module-scope ObjectEntityDetails, so I’m wondering whether this component case is intentionally excluded.
https://github.com/llvm/llvm-project/pull/205427
More information about the flang-commits
mailing list