[all-commits] [llvm/llvm-project] d9b1d8: [NFC][OpenMP] Prepare amdgpu plugin for asynchrono...

carlobertolli via All-commits all-commits at lists.llvm.org
Tue Dec 7 13:03:18 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9b1d827d2e9ae135901b6eccf25a05ef49f38af
      https://github.com/llvm/llvm-project/commit/d9b1d827d2e9ae135901b6eccf25a05ef49f38af
  Author: Carlo Bertolli <carlo.bertolli at amd.com>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    M openmp/libomptarget/plugins/amdgpu/src/rtl.cpp

  Log Message:
  -----------
  [NFC][OpenMP] Prepare amdgpu plugin for asynchronous implementation of target region launch

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

Actual separation of kernel launch code (async vs sync) is a following patch.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D115267




More information about the All-commits mailing list