문제

AMD defines for each GPU family ot its ISA. As I understand, ISA is a instruction set architecture : assembly -like "language". How is called NVidia`s GPU "assembly -like language"? - PTX? Is there any tool like AMD or Intel offline compiler which generates such assembly for NVidia kernels ? Thanks

도움이 되었습니까?

해결책

NVIDIA assembly language is called SASS. You can generate SASS from a compiled kernel using the cuobjdump tool. If the name of your executable is foo, use cuobjdump -sass foo The output is close enough to the type of PTX output you get from doing nvcc -ptx foo.cu that you should be able to understand it with the PTX ISA reference manual

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top