diff options
author | Shilei Tian <tianshilei1992@gmail.com> | 2021-07-15 22:20:54 -0400 |
---|---|---|
committer | Shilei Tian <tianshilei1992@gmail.com> | 2021-07-15 22:21:06 -0400 |
commit | 97c8f60bbaf0986320fdfd03b11328b91c730a96 (patch) | |
tree | 78743307c25ec695580a1204eb3b0426015d27e7 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 851a335b1e64d0d32e15a8d2ace48c9b0967cd5a (diff) | |
download | llvm-97c8f60bbaf0986320fdfd03b11328b91c730a96.zip llvm-97c8f60bbaf0986320fdfd03b11328b91c730a96.tar.gz llvm-97c8f60bbaf0986320fdfd03b11328b91c730a96.tar.bz2 |
[NFC][OpenMP][Offloading] Replaced explicit parallel level computation with function `__kmpc_parallel_level`
There are two places in current deviceRTLs where it computes parallel level explicitly,
which is basically the functionality of `__kmpc_parallel_level`. Starting from
D105787, we plan to introduce a series of function call folding based on information
that can be deducted during compilation time. Computation of parallel level is
the next target. This patch makes steps for the optimization.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D105955
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions