سؤال

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