[OpenMP] Part 2 of At present, amdgpu plugin merges both asynchronous
authorCarlo Bertolli <Carlo.Bertolli@amd.com>
Fri, 10 Dec 2021 19:10:53 +0000 (19:10 +0000)
committerCarlo Bertolli <Carlo.Bertolli@amd.com>
Fri, 10 Dec 2021 19:21:05 +0000 (19:21 +0000)
commit28309c543669b674516ae24022b3c29642531eda
treecf78a4d14ef9b8a3b7977fffe7ce8d35bda160d0
parent2d1761bffccfda9236851260139a53e122c120da
[OpenMP] Part 2 of At present, amdgpu plugin merges both asynchronous
and synchronous kernel launch implementations into a single
synchronous version.  This patch prepares the plugin for asynchronous
implementation by:

    Privatizing actual kernel launch code (valid in both cases) into
    an anonymous namespace base function (submitted at D115267)

    - Separating the control flow path of asynchronous and synchronous
      kernel launch functions** (this diff)

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D115273
openmp/libomptarget/plugins/amdgpu/src/rtl.cpp