diff options
author | Valentin Clement (バレンタイン クレメン) <clementval@gmail.com> | 2024-04-15 20:51:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 20:51:31 -0700 |
commit | 8ee7d9732204a7415967bce2c1d2c0fa63af264f (patch) | |
tree | d4a501962e044a85819b1aaa77f01739aebc9fda /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 00ae4b738be6e840cfdb3e7461409c3e49403e50 (diff) | |
download | llvm-8ee7d9732204a7415967bce2c1d2c0fa63af264f.zip llvm-8ee7d9732204a7415967bce2c1d2c0fa63af264f.tar.gz llvm-8ee7d9732204a7415967bce2c1d2c0fa63af264f.tar.bz2 |
[flang][cuda] Add fir.cuda_allocate operation (#88586)
Allocatable with cuda device attribute have special semantic for the
allocate statement. In flang the allocate statement is lowered to a
sequence of runtime call initializing the descriptor and then allocating
the descriptor data. This new operation will replace the last runtime
call and abstract all the device memory allocation needed.
The lowering patch will follow.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions