[PATCH] D154069: [IRCE] Parse range checks in the form of "LHS - RHS vs Limit"

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 11:02:02 PDT 2023


jhuber6 added a comment.

In D154069#4486045 <https://reviews.llvm.org/D154069#4486045>, @aleksandr.popov wrote:

>> Repro is build openmp and run check-openmp
>
> I've tried to reproduce the tests, but AMDGPU ones (which were actually failed) were not generated:
>
>   ...
>   -- LIBOMPTARGET: Not generating AMDGPU tests, no supported devices detected.
>
> Do you know how to fix that?

It should (ideally) depend on whether or not you have ROCm and a functional GPU on your system. It basically just calls `amdgpu-arch` to see if there's any output. This is to prevent OpenMP from running GPU tests on a machine that can't support it. Either make sure that the system is configured at build time, or us `LIBOMPTARGET_FORCE_AMDGPU_TESTS=ON` to override.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154069/new/

https://reviews.llvm.org/D154069



More information about the llvm-commits mailing list