diff options
author | Giorgis Georgakoudis <georgakoudis1@llnl.gov> | 2021-07-21 00:18:38 -0700 |
---|---|---|
committer | Giorgis Georgakoudis <georgakoudis1@llnl.gov> | 2021-07-21 10:26:04 -0700 |
commit | 5a682d9b9109494cb46e16b493cf4afc5e25e598 (patch) | |
tree | 3a6a6e12659f0c79534e597b680fa04b172a7d29 /llvm/lib/Support/OptimizedStructLayout.cpp | |
parent | 345ace026b6e5cdbc38d207291e4b399d72e62ee (diff) | |
download | llvm-5a682d9b9109494cb46e16b493cf4afc5e25e598.zip llvm-5a682d9b9109494cb46e16b493cf4afc5e25e598.tar.gz llvm-5a682d9b9109494cb46e16b493cf4afc5e25e598.tar.bz2 |
[OpenMP] Expose libomptarget function to get HW thread id
The patch exposes the libomptarget runtime function that gets the hardware thread id through the kmpc API. This is to be used in SPMDization for checking the thread id to execute regions by a single thread in a block.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D106323
Diffstat (limited to 'llvm/lib/Support/OptimizedStructLayout.cpp')
0 files changed, 0 insertions, 0 deletions