[all-commits] [llvm/llvm-project] f5f329: [AMDGPU][Libomptarget] Rework logic for locating k...

pdhaliwal-amd via All-commits all-commits at lists.llvm.org
Sun Jun 6 23:42:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5f329a37175c3a30e9d8b20b95fced96b9dde8c
      https://github.com/llvm/llvm-project/commit/f5f329a37175c3a30e9d8b20b95fced96b9dde8c
  Author: Pushpinder Singh <Pushpinder.Singh at amd.com>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M openmp/libomptarget/plugins/amdgpu/impl/internal.h
    M openmp/libomptarget/plugins/amdgpu/impl/system.cpp
    M openmp/libomptarget/plugins/amdgpu/src/rtl.cpp

  Log Message:
  -----------
  [AMDGPU][Libomptarget] Rework logic for locating kernarg pools

Previous logic was to always use the first kernarg pool found to allocate
kernel args. This patch changes this to use only the kernarg pool which
has non-zero size. This logic is also reworked to not use any globals.

Reviewed By: JonChesterfield

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




More information about the All-commits mailing list