gcc / 5 / nvidia-ptx-options.html

3.17.32 Nvidia PTX Options

These options are defined for Nvidia PTX:

-m32
-m64

Generate code for 32-bit or 64-bit ABI.

-mmainkernel

Link in code for a __main kernel. This is for stand-alone instead of offloading execution.

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-5.5.0/gcc/Nvidia-PTX-Options.html