W3cubDocs

/GCC 6

3.18.33 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.
-moptimize
Apply partitioned execution optimizations. This is the default when any level of optimization is selected.

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