]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/nvptx/nvptx.opt
80aab5b13a4e32295623d48ce93d155ecb17b251
[thirdparty/gcc.git] / gcc / config / nvptx / nvptx.opt
1 ; Options for the NVPTX port
2 ; Copyright (C) 2014-2017 Free Software Foundation, Inc.
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 muniform-simt
41 Target Report Mask(UNIFORM_SIMT)
42 Generate code that can keep local state uniform across all lanes.
43
44 mgomp
45 Target Report Mask(GOMP)
46 Generate code for OpenMP offloading: enables -msoft-stack and -muniform-simt.