aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorValentin Clement (バレンタイン クレメン) <clementval@gmail.com>2024-08-02 16:19:10 -0700
committerGitHub <noreply@github.com>2024-08-02 16:19:10 -0700
commitfca5038597af65d2fd1af0815014440aff055630 (patch)
tree69d9d0ab3b2a025ea349b4e23f79f3f891828e42 /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parent043ec2feaea763d300246ae723b05477dcb425ab (diff)
downloadllvm-fca5038597af65d2fd1af0815014440aff055630.zip
llvm-fca5038597af65d2fd1af0815014440aff055630.tar.gz
llvm-fca5038597af65d2fd1af0815014440aff055630.tar.bz2
[flang][cuda] Add conversion pass for cuf.allocate and cuf.deallocate (#101563)
Allocator can be specified in the descriptor. For simple local allocatable, we can simply convert `cuf.allocate`/`cuf.deallocate` to their corresponding runtime calls in the standard flang runtime. More specific cases will require dedicated entry points. Global descriptor will require sync between host and device copy. This patch adds a pass to perform this conversion.
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions