[Openmp-commits] [PATCH] D158542: [WIP][OpenMP] generic-elf-64bit plugin extension

Michael Halkenhäuser via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Aug 25 04:15:24 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG275259eb9a62: [OpenMP] Add `getComputeUnitKind` to generic-elf-64bit plugin (authored by mhalk).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158542/new/

https://reviews.llvm.org/D158542

Files:
  openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp


Index: openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp
===================================================================
--- openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp
+++ openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp
@@ -131,6 +131,9 @@
   /// Deinitialize the device, which is a no-op
   Error deinitImpl() override { return Plugin::success(); }
 
+  /// See GenericDeviceTy::getComputeUnitKind().
+  std::string getComputeUnitKind() const override { return "generic-64bit"; }
+
   /// Construct the kernel for a specific image on the device.
   Expected<GenericKernelTy &>
   constructKernel(const __tgt_offload_entry &KernelEntry,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158542.553433.patch
Type: text/x-patch
Size: 698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230825/0e17626e/attachment.bin>


More information about the Openmp-commits mailing list