[Openmp-commits] [PATCH] D135162: [OPENMP] New api ompx_get_team_procs(devid) returns the number of physical processors that can run a team. For AMD, this is the number of CUs. for Nvidia, this is number of SMs. For CPUs, this COULD be number of sockets if multiple teams are...

Greg Rodgers via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Oct 4 08:28:51 PDT 2022


gregrodgers created this revision.
Herald added subscribers: kosarev, kerbowa, guansong, yaxunl, jvesely.
Herald added a project: All.
gregrodgers requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

...supported.  This API is needed for optimizing cross team reductions


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135162

Files:
  openmp/libomptarget/include/device.h
  openmp/libomptarget/include/omptarget.h
  openmp/libomptarget/include/omptargetplugin.h
  openmp/libomptarget/include/rtl.h
  openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
  openmp/libomptarget/plugins/cuda/src/rtl.cpp
  openmp/libomptarget/plugins/exports
  openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
  openmp/libomptarget/plugins/ve/src/rtl.cpp
  openmp/libomptarget/src/api.cpp
  openmp/libomptarget/src/device.cpp
  openmp/libomptarget/src/exports
  openmp/libomptarget/src/rtl.cpp
  openmp/libomptarget/test/api/ompx_get_team_procs.c
  openmp/runtime/src/include/omp.h.var

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135162.465023.patch
Type: text/x-patch
Size: 11103 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221004/009acb85/attachment-0001.bin>


More information about the Openmp-commits mailing list