parser of PTX instructions

A couple of facts to start things off From official "Inline PTX Assembly in CUDA": The compiler front end does not parse the asm() statement template string and does not know what it means or even whether it is valid PTX input And second , less well-known one: order of instruction's attributes (except types of operand) is not important The combination of these facts leads to stark conclusion -…