[Libomptarget] Implement a unified kernel entry function
authorJoseph Huber <jhuber6@vols.utk.edu>
Thu, 23 Jun 2022 18:57:59 +0000 (14:57 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Fri, 8 Jul 2022 18:44:06 +0000 (14:44 -0400)
commitad23e4d85fb39e99ff61f588bad480b824d9d1df
treea63775c57c01b9064f35fb0801d7977dc0f385f8
parent46e984b0bf835b934f8ccbc407c6899d06fc045c
[Libomptarget] Implement a unified kernel entry function

This patch implements a unified kernel entry function that will be
targeted from both teams and non-teams clauses. We introduce a new
interface and make the old functions call in using the new one. A
following patch will include the necessary changes to Clang to call
these new functions instead.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D128549
openmp/libomptarget/include/omptarget.h
openmp/libomptarget/src/exports
openmp/libomptarget/src/interface.cpp