diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-01-05 21:01:26 -0600 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-01-11 10:30:38 -0600 |
commit | a17ab7aa3be0b2b2adf992e3754a58f17802491f (patch) | |
tree | e33dd9a9b50165fdb79799824174e86a8e25c1a6 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | fada90286008b52a59ff13b15675032787501001 (diff) | |
download | llvm-a17ab7aa3be0b2b2adf992e3754a58f17802491f.zip llvm-a17ab7aa3be0b2b2adf992e3754a58f17802491f.tar.gz llvm-a17ab7aa3be0b2b2adf992e3754a58f17802491f.tar.bz2 |
[OpenMP] Add support for '--offload-arch=native' to OpenMP offloading
This patch adds support for '--offload-arch=native' to OpenMP
offloading. This will automatically generate the toolchains required to
fulfil whatever GPUs the user has installed. Getting this to work
requires a bit of a hack. The problem is that we need the ToolChain to
launch its searching program. But we do not yet have that ToolChain
built. I had to temporarily make the ToolChain and also add some logic
to ignore regular warnings & errors.
Depends on D141078
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D141105
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions