aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorMichael Halkenhäuser <MichaelGerald.Halkenhauser@amd.com>2023-09-11 12:11:44 +0200
committerGitHub <noreply@github.com>2023-09-11 12:11:44 +0200
commit53602e6193d98b1e814b76a27e99ef7e18c9769c (patch)
treecf4a29043775ff644ad87df1ea963b06b5eee27f /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parent87461d669684668f02362f77807f313187667329 (diff)
downloadllvm-53602e6193d98b1e814b76a27e99ef7e18c9769c.zip
llvm-53602e6193d98b1e814b76a27e99ef7e18c9769c.tar.gz
llvm-53602e6193d98b1e814b76a27e99ef7e18c9769c.tar.bz2
[OpenMP][OMPT] Fix device identifier collision during callbacks (#65595)
Fixes: https://github.com/llvm/llvm-project/issues/65104 When a user assigns devices to target regions it may happen that different identifiers will map onto the same id within different plugins. This will lead to situations where callbacks will become much harder to read, as ambiguous identifiers are reported. We fix this by collecting the index-offset upon general RTL initialization. Which in turn, allows to calculate the unique, user-observable device id.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions