[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
Thu Jul 13 09:31:52 PDT 2023
mhalk added inline comments.
================
Comment at: openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp:1009-1015
+ /// Assign another queue to this stream. This should only be called by a
+ /// ResourceManager when this stream is provided from a resource pool. By
+ /// using another queue, we may avoid putting work on an already busy queue.
+ void assignQueue(AMDGPUQueueTy *NewQueue) {
+ NewQueue->addUser();
+ Queue = NewQueue;
}
----------------
Oversight: Will be removed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154523/new/
https://reviews.llvm.org/D154523
More information about the Openmp-commits
mailing list