[AMDGPU][OpenMP] Disable tests when amdgpu-arch fails
authorPushpinder Singh <Pushpinder.Singh@amd.com>
Fri, 7 May 2021 08:15:49 +0000 (08:15 +0000)
committerPushpinder Singh <Pushpinder.Singh@amd.com>
Mon, 10 May 2021 07:37:27 +0000 (07:37 +0000)
commit9586937ef513b5b9b134322c6c81dcdd03ca784a
tree21f24d8ca50f55ad9bb8392ffba50177a0b0c569
parentc711aa0f6f9d9400fbe619c7f0d6d4aa723b3a64
[AMDGPU][OpenMP] Disable tests when amdgpu-arch fails

This patch prevents runtime tests running on systems without amdgpu.

Reviewed By: protze.joachim, tianshilei1992

Differential Revision: https://reviews.llvm.org/D102054
openmp/libomptarget/plugins/amdgpu/CMakeLists.txt