[all-commits] [llvm/llvm-project] 7b9794: [OpenMP][libomptarget] Add missing symbols in dyna...

Kevin Sala Penadés via All-commits all-commits at lists.llvm.org
Fri Dec 16 15:02:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b979417216f271fe36df50ed6a3480d5957a127
      https://github.com/llvm/llvm-project/commit/7b979417216f271fe36df50ed6a3480d5957a127
  Author: Kevin Sala <kevin.sala at bsc.es>
  Date:   2022-12-17 (Sat, 17 Dec 2022)

  Changed paths:
    M openmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa.cpp
    M openmp/libomptarget/plugins/amdgpu/dynamic_hsa/hsa.h

  Log Message:
  -----------
  [OpenMP][libomptarget] Add missing symbols in dynamic_hsa

This patch prepares for the new AMDGPU NextGen plugin.

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


  Commit: 6bbf9c0cca6f7eab35a524bbba9d6508f764b82d
      https://github.com/llvm/llvm-project/commit/6bbf9c0cca6f7eab35a524bbba9d6508f764b82d
  Author: Kevin Sala <kevin.sala at bsc.es>
  Date:   2022-12-17 (Sat, 17 Dec 2022)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/CMakeLists.txt
    A openmp/libomptarget/plugins-nextgen/amdgpu/CMakeLists.txt
    A openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp

  Log Message:
  -----------
  [OpenMP][libomptarget] Add AMDGPU NextGen plugin with asynchronous behavior

This commit adds the AMDGPU NextGen plugin inheriting from PluginInterface's classes.
It also implements the asynchronous behavior in the plugin operations: kernel launches
and memory transfers. To this end, it implements the concept of streams of asynchronous
operations. The streams are implemented using the HSA signals to define input and output
dependencies between asynchronous operations.

Missing features:
  - Retrieve the maximum number of threads per group that a kernel can run. This requires
    reading the image.
  - Implement __tgt_rtl_sync_event, not used on the libomptarget side.

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


Compare: https://github.com/llvm/llvm-project/compare/fb8eb84e5fd0...6bbf9c0cca6f


More information about the All-commits mailing list