[Openmp-commits] [PATCH] D155629: [OpenMP][libomptarget] Retrieve multiple resources from resource managers
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jul 18 15:25:09 PDT 2023
tianshilei1992 added inline comments.
================
Comment at: openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp:1147
AMDGPUSignalTy *OutputSignals[2] = {nullptr};
- if (auto Err = SignalManager.getResource(OutputSignals[0]))
- return Err;
- if (auto Err = SignalManager.getResource(OutputSignals[1]))
+ if (auto Err = SignalManager.getResources(2, OutputSignals))
return Err;
----------------
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155629/new/
https://reviews.llvm.org/D155629
More information about the Openmp-commits
mailing list