/rocm_disassembler

Disassembler for hsa code object.

Primary LanguageC++

rocm_disassembler

Disassembler for hsa code object based on ROCm-CompilerSupport.

Prerequisite

comgr from ROCm-CompilerSupport is needed to build and use the disassembler.

sudo apt install comgr

Build

./build.sh

Usage

./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>"