111
|
1 ; Options for the NVPTX port
|
145
|
2 ; Copyright (C) 2014-2020 Free Software Foundation, Inc.
|
111
|
3 ;
|
|
4 ; This file is part of GCC.
|
|
5 ;
|
|
6 ; GCC is free software; you can redistribute it and/or modify it under
|
|
7 ; the terms of the GNU General Public License as published by the Free
|
|
8 ; Software Foundation; either version 3, or (at your option) any later
|
|
9 ; version.
|
|
10 ;
|
|
11 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
12 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13 ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
14 ; for more details.
|
|
15 ;
|
|
16 ; You should have received a copy of the GNU General Public License
|
|
17 ; along with GCC; see the file COPYING3. If not see
|
|
18 ; <http://www.gnu.org/licenses/>.
|
|
19
|
|
20 m32
|
|
21 Target Report RejectNegative InverseMask(ABI64)
|
|
22 Generate code for a 32-bit ABI.
|
|
23
|
|
24 m64
|
|
25 Target Report RejectNegative Mask(ABI64)
|
|
26 Generate code for a 64-bit ABI.
|
|
27
|
|
28 mmainkernel
|
|
29 Target Report RejectNegative
|
|
30 Link in code for a __main kernel.
|
|
31
|
|
32 moptimize
|
|
33 Target Report Var(nvptx_optimize) Init(-1)
|
|
34 Optimize partition neutering.
|
|
35
|
|
36 msoft-stack
|
|
37 Target Report Mask(SOFT_STACK)
|
|
38 Use custom stacks instead of local memory for automatic storage.
|
|
39
|
|
40 msoft-stack-reserve-local
|
|
41 Target Report Joined RejectNegative UInteger Var(nvptx_softstack_size) Init(128)
|
|
42 Specify size of .local memory used for stack when the exact amount is not known.
|
|
43
|
|
44 muniform-simt
|
|
45 Target Report Mask(UNIFORM_SIMT)
|
|
46 Generate code that can keep local state uniform across all lanes.
|
|
47
|
|
48 mgomp
|
|
49 Target Report Mask(GOMP)
|
|
50 Generate code for OpenMP offloading: enables -msoft-stack and -muniform-simt.
|
131
|
51
|
|
52 Enum
|
|
53 Name(ptx_isa) Type(int)
|
|
54 Known PTX ISA versions (for use with the -misa= option):
|
|
55
|
|
56 EnumValue
|
|
57 Enum(ptx_isa) String(sm_30) Value(PTX_ISA_SM30)
|
|
58
|
|
59 EnumValue
|
|
60 Enum(ptx_isa) String(sm_35) Value(PTX_ISA_SM35)
|
|
61
|
|
62 misa=
|
|
63 Target RejectNegative ToLower Joined Enum(ptx_isa) Var(ptx_isa_option) Init(PTX_ISA_SM30)
|
|
64 Specify the version of the ptx ISA to use.
|