[Libomptarget] Improve next-gen AMDGPU plugin error messages
authorJoseph Huber <jhuber6@vols.utk.edu>
Thu, 2 Feb 2023 16:29:47 +0000 (10:29 -0600)
committerJoseph Huber <jhuber6@vols.utk.edu>
Thu, 2 Feb 2023 18:55:53 +0000 (12:55 -0600)
commit6dd84983d0c131fb9fc5e130c80b51b74e397d48
tree2f33e7fe9cb4077813c67f14b3e2a099d35b5794
parent6d9e7fa1de603451cd33911fb8754205219345d8
[Libomptarget] Improve next-gen AMDGPU plugin error messages

The next-gen plugin properly prints errors. This patch improves the
error messages by including the Node-ID of the GPU that failed as well
as a textual representation of the enumeration values.

Reviewed By: kevinsala

Differential Revision: https://reviews.llvm.org/D143192
openmp/libomptarget/include/Debug.h
openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp