diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-08-17 17:39:12 -0400 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-08-23 14:09:51 -0500 |
commit | 2b8f722e630d0fdf1ca267361866a27c8d4c9387 (patch) | |
tree | ab587f832503c3b5348ea77bb39ed62730e99fa5 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
parent | 9317e6311f7ebc433d8ddeb5a970b95fa891dc1d (diff) | |
download | llvm-2b8f722e630d0fdf1ca267361866a27c8d4c9387.zip llvm-2b8f722e630d0fdf1ca267361866a27c8d4c9387.tar.gz llvm-2b8f722e630d0fdf1ca267361866a27c8d4c9387.tar.bz2 |
[OpenMP] Add option to assert no nested OpenMP parallelism on the GPU
The OpenMP device runtime needs to support the OpenMP standard. However
constructs like nested parallelism are very uncommon in real application
yet lead to complexity in the runtime that is sometimes difficult to
optimize out. As a stop-gap for performance we should supply an argument
that selectively disables this feature. This patch adds the
`-fopenmp-assume-no-nested-parallelism` argument which explicitly
disables the usee of nested parallelism in OpenMP.
Reviewed By: carlo.bertolli
Differential Revision: https://reviews.llvm.org/D132074
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions