Minimal example testbed of running bare-metal GCN assembly using HSA runtime.
If you want to run own generated code, a simple trick is to use S_SETPC_B64
to jump to your code instead of implementing the codeobj format the HSA expects.
uncpp'fied from here.
-
HSA specs (specifically the runtime)
Because GCN is awesome. Thank you AMD for making such an amazing architecture and its ISA and software open-source.