[Openmp-commits] [PATCH] D154523: [OpenMP][AMDGPU] Tracking of busy HSA queues
Michael Halkenhäuser via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jul 5 09:32:07 PDT 2023
mhalk created this revision.
Herald added subscribers: sunshaoce, kerbowa, guansong, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
mhalk requested review of this revision.
Herald added subscribers: openmp-commits, jplehr, sstefan1, wdng.
Herald added a reviewer: jdoerfert.
Herald added a project: OpenMP.
Extend the single eager init of HSA queues and move their management into the
AMDGPUStreamManager of an AMDGPUDevice.
Allow a stream to use different HSA queues during its lifetime and identify
busy queues.
When a Stream is requested from the resource manager, it will search for and
try to assign an idle queue. During the search for an idle queue the manager
may initialize more queues, up to the set maximum (default: 4).
When no idle queue could be found: resort to round robin selection.
Depends on D152035 <https://reviews.llvm.org/D152035>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154523
Files:
openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154523.537396.patch
Type: text/x-patch
Size: 12180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230705/6d7e3c97/attachment.bin>
More information about the Openmp-commits
mailing list