Add register usage information to the runtime metadata so that it can be used during kernel launch (that change will be in a different commit). Add this information to the kernel trace.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good to me, thanks.
We should probably use uint64_t everywhere, instead of sometimes truncating to uint32_t, but that pattern and the 0,0,0,0, one are pre-existing.
Let's go with this and report errors on implausible (e.g. > 4 billion) register counts as a separate patch, along with sanity checking requested LDS etc.
Comment Actions
Sure. The process for requesting access has changed since I did it, can't remember what it is now.
Comment Actions
Ah, apologies. My 'land it' script has clobbered the author field. Will need to look up how to not do that in future