Page MenuHomePhabricator

AMDGPU: Make default AMDHSA Code Object Version to be 5
Needs RevisionPublic

Authored by cfang on Jul 14 2022, 4:29 PM.

Details

Reviewers
arsenm
b-sumner
jdoerfert
sstefan1
ronlieb
Group Reviewers
Restricted Project
Summary

Also update LIT tests and docs.

Diff Detail

Event Timeline

cfang created this revision.Jul 14 2022, 4:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 14 2022, 4:29 PM
cfang requested review of this revision.Jul 14 2022, 4:29 PM
Herald added a reviewer: sstefan1. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added subscribers: MaskRay, wdng. · View Herald Transcript

Are we really ready to switch the default? We aren't even optimizing the new locations yet?

Typo in patch title

cfang retitled this revision from AMDGPU: Make default AMDHSA Code Pbject Version to be 5 to AMDGPU: Make default AMDHSA Code Object Version to be 5.Jul 14 2022, 5:18 PM
arsenm accepted this revision.Nov 16 2022, 3:39 PM

LGTM. I thought this already happened?

This revision is now accepted and ready to land.Nov 16 2022, 3:39 PM
ronlieb requested changes to this revision.Nov 16 2022, 3:46 PM
ronlieb added a subscriber: ronlieb.

lets hold off landing for a few more days?
checking some internal related testing results

Thanks,

This revision now requires changes to proceed.Nov 16 2022, 3:46 PM
lamb-j added a subscriber: lamb-j.Tue, May 9, 12:04 PM
lamb-j added inline comments.
clang/test/Driver/hip-device-libs.hip
144
154

Should this be ABI5? That is, if CodeObjectVersion < 4, should it be set to 5 (instead of 4)?

May also be related to a needed change here: https://github.com/llvm/llvm-project/blob/6db007a0654ed7a6ed5c3aa3b61a937c19a6bc6b/clang/lib/Driver/ToolChains/ROCm.h#L29

llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
31–34