[all-commits] [llvm/llvm-project] 843f49: [OpenMP][libomptarget] Improve device info printin...

Kevin Sala Penadés via All-commits all-commits at lists.llvm.org
Tue May 9 06:47:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 843f496b71aece4097bcc780c3bb47bd0874844a
      https://github.com/llvm/llvm-project/commit/843f496b71aece4097bcc780c3bb47bd0874844a
  Author: Kevin Sala <kevin.sala at bsc.es>
  Date:   2023-05-09 (Tue, 09 May 2023)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
    M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
    M openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp

  Log Message:
  -----------
  [OpenMP][libomptarget] Improve device info printing in NextGen plugins

This patch improves the device info printing in the NextGen plugins. The device
info properties are composed of keys, values and units (if necessary). These
properties are pushed into a queue by each vendor-specifc plugin, and later,
these properties are printed processed and printed by the common Plugin
Interface. The printing format is common across the different plugins.

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




More information about the All-commits mailing list