diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2021-09-21 15:32:41 -0400 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2021-09-21 17:43:50 -0400 |
commit | e95731cca7ecf5be22ea67a273cb19ba2c14d54c (patch) | |
tree | b726ad5e1206157a45e48c3f228f2360c94245b4 /llvm/lib/LTO/LTO.cpp | |
parent | e1ed02181ffcfea7de952d252a5e25953c822251 (diff) | |
download | llvm-e95731cca7ecf5be22ea67a273cb19ba2c14d54c.zip llvm-e95731cca7ecf5be22ea67a273cb19ba2c14d54c.tar.gz llvm-e95731cca7ecf5be22ea67a273cb19ba2c14d54c.tar.bz2 |
[OpenMP] Add thread ID function into new RTL
The new device runtime library currently lacks the
`kmpc_get_hardware_thread_id_in_block` function which is currently used
when doing the SPMDzation optimization. This call would be introduced
through the optimization and then cause a linking error because it was
not present. This patch adds support for this runtime call.
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D110195
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
0 files changed, 0 insertions, 0 deletions