This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][libomptarget] Retrieve multiple resources from resource managers
ClosedPublic

Authored by kevinsala on Jul 18 2023, 12:15 PM.

Details

Summary

This patch extends the plugin resource managers to return more than one resource
per call. The return function is not extended since we do not return more than
one resource anywhere.

Depends on D155621

Diff Detail

Event Timeline

kevinsala created this revision.Jul 18 2023, 12:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 18 2023, 12:15 PM
kevinsala requested review of this revision.Jul 18 2023, 12:15 PM

Simplifying patch.

This revision is now accepted and ready to land.Jul 18 2023, 3:19 PM
tianshilei1992 added inline comments.Jul 18 2023, 3:25 PM
openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
1149–1150
jhuber6 added inline comments.Jul 18 2023, 3:26 PM
openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
1149–1150

Should be /*Num=*/ since clang-format understands it.

Fixing comments.