blob: 57e344e8f2f00cf5916e8a41d65cc0ca2e7433bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
; Options for the GCN port of the compiler.
; Copyright (C) 2016-2024 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 3, or (at your option) any later
; version.
;
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
; for more details.
;
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING3. If not see
; <http://www.gnu.org/licenses/>.
HeaderInclude
config/gcn/gcn-opts.h
march=
Target RejectNegative Negative(march=) Joined ToLower Enum(gpu_type) Var(gcn_arch) Init(PROCESSOR_GFX900)
Specify the name of the target GPU.
mtune=
Target RejectNegative Negative(mtune=) Joined ToLower Enum(gpu_type) Var(gcn_tune) Init(PROCESSOR_GFX900)
Specify the name of the target GPU.
m32
Target RejectNegative InverseMask(ABI64)
Generate code for a 32-bit ABI.
m64
Target RejectNegative Mask(ABI64)
Generate code for a 64-bit ABI.
mgomp
Target RejectNegative
Enable OpenMP GPU offloading.
bool flag_bypass_init_error = false
mbypass-init-error
Target RejectNegative Var(flag_bypass_init_error)
int stack_size_opt = -1
mstack-size=
Target RejectNegative Joined UInteger Var(stack_size_opt) Init(-1)
Obsolete; use GCN_STACK_SIZE at runtime.
int gang_private_size_opt = -1
mgang-private-size=
Target RejectNegative Joined UInteger Var(gang_private_size_opt) Init(-1)
Amount of local data-share (LDS) memory to reserve for gang-private variables.
Wopenacc-dims
Target Var(warn_openacc_dims) Warning
Warn about invalid OpenACC dimensions.
Enum
Name(hsaco_attr_type) Type(enum hsaco_attr_type)
SRAM-ECC and XNACK modes:
EnumValue
Enum(hsaco_attr_type) String(off) Value(HSACO_ATTR_OFF)
EnumValue
Enum(hsaco_attr_type) String(on) Value(HSACO_ATTR_ON)
EnumValue
Enum(hsaco_attr_type) String(any) Value(HSACO_ATTR_ANY)
EnumValue
Enum(hsaco_attr_type) String(default) Value(HSACO_ATTR_DEFAULT)
mxnack=
Target RejectNegative Joined ToLower Enum(hsaco_attr_type) Var(flag_xnack) Init(HSACO_ATTR_DEFAULT)
Compile for devices requiring XNACK enabled. Default \"any\" if USM is supported.
msram-ecc=
Target RejectNegative Joined ToLower Enum(hsaco_attr_type) Var(flag_sram_ecc) Init(HSACO_ATTR_DEFAULT)
Compile for devices with the SRAM ECC feature enabled, or not. Default \"any\".
-param=gcn-preferred-vectorization-factor=
Target Joined Enum(gcn_preferred_vectorization_factor) Var(gcn_preferred_vectorization_factor) Init(-1) Param
--param=gcn-preferred-vectorization-factor=[default,32,64] Preferred vectorization factor.
Enum
Name(gcn_preferred_vectorization_factor) Type(int)
EnumValue
Enum(gcn_preferred_vectorization_factor) String(default) Value(-1)
EnumValue
Enum(gcn_preferred_vectorization_factor) String(32) Value(32)
EnumValue
Enum(gcn_preferred_vectorization_factor) String(64) Value(64)
|