]>
Commit | Line | Data |
---|---|---|
5326695a AS |
1 | ; Options for the GCN port of the compiler. |
2 | ||
99dee823 | 3 | ; Copyright (C) 2016-2021 Free Software Foundation, Inc. |
5326695a AS |
4 | ; |
5 | ; This file is part of GCC. | |
6 | ; | |
7 | ; GCC is free software; you can redistribute it and/or modify it under | |
8 | ; the terms of the GNU General Public License as published by the Free | |
9 | ; Software Foundation; either version 3, or (at your option) any later | |
10 | ; version. | |
11 | ; | |
12 | ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
13 | ; WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 | ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 | ; for more details. | |
16 | ; | |
17 | ; You should have received a copy of the GNU General Public License | |
18 | ; along with GCC; see the file COPYING3. If not see | |
19 | ; <http://www.gnu.org/licenses/>. | |
20 | ||
21 | HeaderInclude | |
22 | config/gcn/gcn-opts.h | |
23 | ||
24 | Enum | |
25 | Name(gpu_type) Type(enum processor_type) | |
26 | GCN GPU type to use: | |
27 | ||
5326695a AS |
28 | EnumValue |
29 | Enum(gpu_type) String(fiji) Value(PROCESSOR_FIJI) | |
30 | ||
31 | EnumValue | |
f062c3f1 | 32 | Enum(gpu_type) String(gfx900) Value(PROCESSOR_VEGA10) |
5326695a | 33 | |
268d509d | 34 | EnumValue |
f062c3f1 | 35 | Enum(gpu_type) String(gfx906) Value(PROCESSOR_VEGA20) |
268d509d | 36 | |
5326695a | 37 | march= |
591f869a | 38 | Target RejectNegative Joined ToLower Enum(gpu_type) Var(gcn_arch) Init(PROCESSOR_FIJI) |
5326695a AS |
39 | Specify the name of the target GPU. |
40 | ||
41 | mtune= | |
591f869a | 42 | Target RejectNegative Joined ToLower Enum(gpu_type) Var(gcn_tune) Init(PROCESSOR_FIJI) |
5326695a AS |
43 | Specify the name of the target GPU. |
44 | ||
45 | m32 | |
eece52b5 | 46 | Target RejectNegative InverseMask(ABI64) |
5326695a AS |
47 | Generate code for a 32-bit ABI. |
48 | ||
49 | m64 | |
eece52b5 | 50 | Target RejectNegative Mask(ABI64) |
5326695a AS |
51 | Generate code for a 64-bit ABI. |
52 | ||
53 | mgomp | |
eece52b5 | 54 | Target RejectNegative |
5326695a AS |
55 | Enable OpenMP GPU offloading. |
56 | ||
57 | bool flag_bypass_init_error = false | |
58 | ||
59 | mbypass-init-error | |
eece52b5 | 60 | Target RejectNegative Var(flag_bypass_init_error) |
5326695a AS |
61 | |
62 | bool flag_worker_partitioning = false | |
63 | ||
64 | macc-experimental-workers | |
eece52b5 | 65 | Target Var(flag_worker_partitioning) Init(0) |
5326695a AS |
66 | |
67 | int stack_size_opt = -1 | |
68 | ||
69 | mstack-size= | |
eece52b5 | 70 | Target RejectNegative Joined UInteger Var(stack_size_opt) Init(-1) |
5326695a AS |
71 | -mstack-size=<number> Set the private segment size per wave-front, in bytes. |
72 | ||
5326695a AS |
73 | Wopenacc-dims |
74 | Target Var(warn_openacc_dims) Warning | |
75 | Warn about invalid OpenACC dimensions. |