跳转至

nvdia_ptx

How to get the assembly code of a CUDA kernel?

https://stackoverflow.com/questions/20482686/how-to-get-the-assembly-code-of-a-cuda-kernel

GAS
# kernel.cu -> ptx
nvcc -ptx -o kernel.ptx kernel.cu

https://docs.nvidia.com/cuda/cuda-binary-utilities/index.html#axzz36AnCbaAh

GAS
cuobjdump
nvdisasm
Bash
nvcc ptx.ptx --cubin

--cubin --fatbin --device-c --device-link