diff options
author | Valentin Clement (バレンタイン クレメン) <clementval@gmail.com> | 2025-06-10 09:43:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-10 09:43:30 -0700 |
commit | 9c54512c3ef1d9035b75a6c3005300cd84e33ef9 (patch) | |
tree | 45c0d5f21e89cc060e5b436545782bbbddf70e3f /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 8957e64a20fc7f4277565c6cfe3e555c119783ce (diff) | |
download | llvm-9c54512c3ef1d9035b75a6c3005300cd84e33ef9.zip llvm-9c54512c3ef1d9035b75a6c3005300cd84e33ef9.tar.gz llvm-9c54512c3ef1d9035b75a6c3005300cd84e33ef9.tar.bz2 |
[flang][cuda] Allocate the dst descriptor in data transfer (#143437)
In a test like:
```
integer, allocatable, device :: da(:)
allocate(a(200))
a = 2
da = a ! da is not allocated before data transfer is initiated. Allocate it with a
```
The reference compiler will allocate the data for the `da` descriptor so
the data transfer can be done properly.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions