[llvm-branch-commits] [llvm] [offload] Fix teams/threads limits in record replay (PR #200639)

Robert Imschweiler via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 5 01:47:23 PDT 2026


ro-i wrote:

The tests still fail when I apply your commits to amd-staging and test them on gfx90a.
libomptarget :: amdgcn-amd-amdhsa :: tools/omp-kernel-replay/record-replay-diff-threads.cpp,
libomptarget :: amdgcn-amd-amdhsa :: tools/omp-kernel-replay/record-replay-basic.cpp, and
libomptarget :: amdgcn-amd-amdhsa :: tools/omp-kernel-replay/record-replay-advanced.cpp
fail due to
`[llvm-omp-kernel-replay] Error: number of teams is out of the allowed limits`

I think the issue is that the user-requested team number is recorded instead of the effective one (or a range or so).

libomptarget :: amdgcn-amd-amdhsa :: tools/omp-kernel-replay/record-replay-diff-teams-threads.cpp
fails due to
`"Profiler" error: Failed to set parent library: libomptarget.so: cannot open shared object file: No such file or directory`
which seems unrelated, maybe an issue with my build config

https://github.com/llvm/llvm-project/pull/200639


More information about the llvm-branch-commits mailing list