-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce KMHACKISA environment variable for ISA-level code injection. #1246
base: clang_tot_upgrade
Are you sure you want to change the base?
Conversation
When used with -fno-gpu-rdc, this allows applications to inject ISA into object files. This flag is used for kernel developers to tweak ISA before an optimization can be devised in the compiler.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should work
with this PR you are able to inject additional or replace ISA coming out from the compiler. |
@scchan This feature is gradually getting picked up by kernel developers in MIOpen team. Wondering could you give this PR another go? Thanks. |
@whchung I'd like to get PR1245 first if possible since it's higher priority. This PR will probably have be updated to adapt to those changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closing old prs
When used with
-fno-gpu-rdc
, this allows applications to inject ISA intoobject files. This flag is used for kernel developers to tweak ISA before an
optimization can be devised in the compiler.
The feature is developed for @asroy and @zjing14 . Need verification from their applications first.