This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Add code object v5 support and generate metadata for implicit kernel args
ClosedPublic

Authored by cfang on Jan 26 2022, 10:37 AM.

Details

Summary
  • Add code object v5 support (deafult is still v4)
  • Generate metadata for implicit kernel args for the new ABI
  • Set the metadata version to be 1.2

Fixes:

SWDEV-307188, SWDEV-307189

Diff Detail

Event Timeline

cfang created this revision.Jan 26 2022, 10:37 AM
cfang requested review of this revision.Jan 26 2022, 10:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 26 2022, 10:37 AM
Herald added subscribers: MaskRay, wdng. · View Herald Transcript
bcahoon accepted this revision.Jan 31 2022, 5:09 PM

There are some clang-format issues to be addressed before committing. Other than that, the patch LGTM. Thanks!

This revision is now accepted and ready to land.Jan 31 2022, 5:09 PM
This revision was landed with ongoing or failed builds.Jan 31 2022, 6:09 PM
This revision was automatically updated to reflect the committed changes.
foad added inline comments.Feb 1 2022, 12:29 AM
llvm/docs/AMDGPUUsage.rst
3522

Typo "dimensionality" here and below.