hcc icon indicating copy to clipboard operation
hcc copied to clipboard

Introduce KMHACKISA environment variable for ISA-level code injection.

Open whchung opened this issue 6 years ago • 4 comments

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.

The feature is developed for @asroy and @zjing14 . Need verification from their applications first.

whchung avatar Aug 20 '19 21:08 whchung

@scchan , @asroy and @zjing14 both could apply the patch onto their projects and do ISA-level tweaking now. Removing [DO NOT MERGE] tag now.

whchung avatar Aug 21 '19 19:08 whchung

  • @jehandadkhan for awareness.

with this PR you are able to inject additional or replace ISA coming out from the compiler.

whchung avatar Aug 29 '19 21:08 whchung

@scchan This feature is gradually getting picked up by kernel developers in MIOpen team. Wondering could you give this PR another go? Thanks.

whchung avatar Aug 29 '19 21:08 whchung

@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.

scchan avatar Aug 29 '19 21:08 scchan