[PATCH] D120353: [OpenMP] Add option to make offloading mandatory
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 22 13:40:53 PST 2022
ABataev added a comment.
> This is necessary for implementing features like conditional offloading and ensuring that unhandled pragmas don't result in missing symbols.
This behavior is part of the standard.
> For offloading tests we can silently fail to the host without realizing that offloading failed.
It is controlled by the OMP_TARGET_OFFLOAD env variable, no? You can set this env var to mandatory to avoid this problem.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120353/new/
https://reviews.llvm.org/D120353
More information about the cfe-commits
mailing list