1; Options for the GCN port of the compiler. 2 3; Copyright (C) 2016-2020 Free Software Foundation, Inc. 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 21HeaderInclude 22config/gcn/gcn-opts.h 23 24Enum 25Name(gpu_type) Type(enum processor_type) 26GCN GPU type to use: 27 28EnumValue 29Enum(gpu_type) String(fiji) Value(PROCESSOR_FIJI) 30 31EnumValue 32Enum(gpu_type) String(gfx900) Value(PROCESSOR_VEGA) 33 34EnumValue 35Enum(gpu_type) String(gfx906) Value(PROCESSOR_VEGA) 36 37march= 38Target RejectNegative Joined ToLower Enum(gpu_type) Var(gcn_arch) Init(PROCESSOR_FIJI) 39Specify the name of the target GPU. 40 41mtune= 42Target RejectNegative Joined ToLower Enum(gpu_type) Var(gcn_tune) Init(PROCESSOR_FIJI) 43Specify the name of the target GPU. 44 45m32 46Target Report RejectNegative InverseMask(ABI64) 47Generate code for a 32-bit ABI. 48 49m64 50Target Report RejectNegative Mask(ABI64) 51Generate code for a 64-bit ABI. 52 53mgomp 54Target Report RejectNegative 55Enable OpenMP GPU offloading. 56 57bool flag_bypass_init_error = false 58 59mbypass-init-error 60Target Report RejectNegative Var(flag_bypass_init_error) 61 62bool flag_worker_partitioning = false 63 64macc-experimental-workers 65Target Report Var(flag_worker_partitioning) Init(0) 66 67int stack_size_opt = -1 68 69mstack-size= 70Target Report RejectNegative Joined UInteger Var(stack_size_opt) Init(-1) 71-mstack-size=<number> Set the private segment size per wave-front, in bytes. 72 73mlocal-symbol-id= 74Target RejectNegative Report JoinedOrMissing Var(local_symbol_id) Init(0) 75 76Wopenacc-dims 77Target Var(warn_openacc_dims) Warning 78Warn about invalid OpenACC dimensions. 79