cuda: detect target architecture in PTX code
Merge remote-tracking branch 'origin/gdev-axe'