OpenMP offloading always uses uniform workgroups, see
https://reviews.llvm.org/D135374. The runtime doesn't need to handle
non-uniform workgroups at all either.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This seems to have broken the amdgpu buildbot.
https://lab.llvm.org/buildbot/#/builders/193/builds/21152
Comment Actions
@estewart08 Can you try the suggested fix below?
openmp/libomptarget/DeviceRTL/src/Mapping.cpp | ||
---|---|---|
82 | This should be __builtin_amdgcn_grid_size_x()/__builtin_amdgcn_workgroup_size_x(). |
openmp/libomptarget/DeviceRTL/src/Mapping.cpp | ||
---|---|---|
82 | That fixed the check-openmp failures on my local build. |
This should be __builtin_amdgcn_grid_size_x()/__builtin_amdgcn_workgroup_size_x().