Disassembler for hsa code object based on ROCm-CompilerSupport.
comgr from ROCm-CompilerSupport is needed to build and use the disassembler.
sudo apt install comgr
./build.sh
./disassembler <.hsaco file>
<.hsaco file> can be generated by specify following env var before executing HIP/OpenCL app:
export LOADER_OPTIONS_APPEND="-dump-code=1 -dump-dir=<path/to/save/dump>"