assembly - How to read cuda binary code -
cuda generates 'cubin': cuda binary. can converted assembly running cuobjdump or nvdisasm (see http://docs.nvidia.com/cuda/cuda-binary-utilities/index.html).
now have wonderful assembly code , have no proper way of reading it. there tools
- place assembly next source
- that explain operations (like 'dmul r4, r8, r2;' multiplication, don't know, 'imad.hi.x')
- keep track of register count (i'm using cuda toolkit 5.5, know tools spit out counter of version 6.5 or something)?
and there tutorial? seems nobody reading cubins googling results in hardly results.
- nvdisasm --print-line-info, see http://docs.nvidia.com/cuda/cuda-binary-utilities/index.html#nvdisasm-options
- see http://docs.nvidia.com/cuda/cuda-binary-utilities/index.html#instruction-set-ref
- nvcc -v, see http://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#options-for-guiding-compiler-driver
- nvdisasm --print-life-ranges, see http://docs.nvidia.com/cuda/cuda-binary-utilities/index.html#nvdisasm-options
Comments
Post a Comment