summaryrefslogtreecommitdiffstats
path: root/clang/docs/ClangCommandLineReference.rst
diff options
context:
space:
mode:
Diffstat (limited to 'clang/docs/ClangCommandLineReference.rst')
-rw-r--r--clang/docs/ClangCommandLineReference.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst
index 8e9ef84c99c..67eb56a4cef 100644
--- a/clang/docs/ClangCommandLineReference.rst
+++ b/clang/docs/ClangCommandLineReference.rst
@@ -144,6 +144,10 @@ Compile CUDA code for device only
CUDA GPU architecture (e.g. sm\_35). May be specified more than once.
+.. option:: --cuda-include-ptx=<arg>, --no-cuda-include-ptx=<arg>
+
+Include (or not) PTX along with CUDA GPU binary for the given architecture (e.g. sm\_35). Argument may be 'all'. The option may be specified more than once. Default: --cuda-include-ptx=all
+
.. option:: --cuda-host-only
Compile CUDA code for host only. Has no effect on non-CUDA compilations.
OpenPOWER on IntegriCloud