diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2022-02-19 23:28:49 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-02-22 14:57:28 +0100 |
commit | bc91cb8d8cf1d4abbb74fb69d918071e1801fd77 (patch) | |
tree | dc22d630529d81026abdca69573de5408fd4cf65 /gcc/doc/invoke.texi | |
parent | c2b23aaaf4457278403c01cd145cd3936683384e (diff) | |
download | gcc-bc91cb8d8cf1d4abbb74fb69d918071e1801fd77.zip gcc-bc91cb8d8cf1d4abbb74fb69d918071e1801fd77.tar.gz gcc-bc91cb8d8cf1d4abbb74fb69d918071e1801fd77.tar.bz2 |
nvptx: Add -mptx=6.0
Currently supported internally are 3.1, 6.0, 6.3 and 7.0.
However, -mptx= supports 3.1, 6.3, 7.0 – but not the internal default 6.0.
Add -mptx=6.0 for consistency.
Tested on nvptx.
gcc/ChangeLog:
* config/nvptx/nvptx.opt (mptx): Add 6.0 alias PTX_VERSION_6_0.
* doc/invoke.texi (-mptx): Update for new values and defaults.
Co-Authored-By: Tom de Vries <tdevries@suse.de>
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r-- | gcc/doc/invoke.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 635c5f7..56f3a01 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -27286,9 +27286,10 @@ strings must be lower-case. Valid ISA strings include @samp{sm_30} and @item -mptx=@var{version-string} @opindex mptx -Generate code for given the specified PTX version (e.g.@: @samp{6.3}). -Valid version strings include @samp{3.1} and @samp{6.3}. The default PTX -version is 3.1. +Generate code for given the specified PTX version (e.g.@: @samp{7.0}). +Valid version strings include @samp{3.1}, @samp{6.0}, @samp{6.3}, and +@samp{7.0}. The default PTX version is 6.0, unless a higher minimal +version is required for specified PTX ISA via option @option{-misa=}. @item -mmainkernel @opindex mmainkernel |