[all-commits] [llvm/llvm-project] d7503c: [AMDGPU][Libomptarget] Rename & move g_executables...

pdhaliwal-amd via All-commits all-commits at lists.llvm.org
Mon May 17 22:43:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7503c3bce491e2672386906ec879c7df5ede7a5
      https://github.com/llvm/llvm-project/commit/d7503c3bce491e2672386906ec879c7df5ede7a5
  Author: Pushpinder Singh <Pushpinder.Singh at amd.com>
  Date:   2021-05-18 (Tue, 18 May 2021)

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

  Log Message:
  -----------
  [AMDGPU][Libomptarget] Rename & move g_executables to private

This patch moves g_executables to private member of Runtime class
and is renamed to HSAExecutables following LLVM naming convention.

This movement required making Runtime::Initialize and Runtime::Finalize
non-static. Verified the correctness of this change by running
libomptarget tests on gfx906.

Reviewed By: JonChesterfield

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




More information about the All-commits mailing list