I have compared https://github.com/OpenMPToolsInterface/llvm-project/tree/openmp5-gpu and the latest llvm-project/openmp folder for ompt support of libomptarget.
OMPT support for libomptarget introduces some new files including src/ompt_callback.cpp, src/ompt_callback.h, plugins/cuda/src/*, and only four files are modified which are src/device.cpp and src/interface.cpp, src/CMakeLists.txt, plugins/cuda/CMakeLists.txt. src/device.cpp and src/interface.cpp are the two main files that enable OMPT. So if we manually migrate those changes into the latest llvm-project/openmp, we should be able to make it working.
I have compared https://github.com/OpenMPToolsInterface/llvm-project/tree/openmp5-gpu and the latest llvm-project/openmp folder for ompt support of libomptarget.
OMPT support for libomptarget introduces some new files including
src/ompt_callback.cpp, src/ompt_callback.h, plugins/cuda/src/*, and only four files are modified which aresrc/device.cpp and src/interface.cpp, src/CMakeLists.txt, plugins/cuda/CMakeLists.txt.src/device.cpp and src/interface.cppare the two main files that enable OMPT. So if we manually migrate those changes into the latest llvm-project/openmp, we should be able to make it working.