1; Options for the GCN port of the compiler. 2 3; Copyright (C) 2016-2021 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_VEGA10) 33 34EnumValue 35Enum(gpu_type) String(gfx906) Value(PROCESSOR_VEGA20) 36 37EnumValue 38Enum(gpu_type) String(gfx908) Value(PROCESSOR_GFX908) 39 40march= 41Target RejectNegative Joined ToLower Enum(gpu_type) Var(gcn_arch) Init(PROCESSOR_FIJI) 42Specify the name of the target GPU. 43 44mtune= 45Target RejectNegative Joined ToLower Enum(gpu_type) Var(gcn_tune) Init(PROCESSOR_FIJI) 46Specify the name of the target GPU. 47 48m32 49Target RejectNegative InverseMask(ABI64) 50Generate code for a 32-bit ABI. 51 52m64 53Target RejectNegative Mask(ABI64) 54Generate code for a 64-bit ABI. 55 56mgomp 57Target RejectNegative 58Enable OpenMP GPU offloading. 59 60bool flag_bypass_init_error = false 61 62mbypass-init-error 63Target RejectNegative Var(flag_bypass_init_error) 64 65int stack_size_opt = -1 66 67mstack-size= 68Target RejectNegative Joined UInteger Var(stack_size_opt) Init(-1) 69-mstack-size=<number> Set the private segment size per wave-front, in bytes. 70 71int gang_private_size_opt = -1 72 73mgang-private-size= 74Target RejectNegative Joined UInteger Var(gang_private_size_opt) Init(-1) 75Amount of local data-share (LDS) memory to reserve for gang-private variables. 76 77Wopenacc-dims 78Target Var(warn_openacc_dims) Warning 79Warn about invalid OpenACC dimensions. 80 81mxnack 82Target Var(flag_xnack) Init(0) 83Compile for devices requiring XNACK enabled. Default off. 84 85Enum 86Name(sram_ecc_type) Type(enum sram_ecc_type) 87SRAM-ECC modes: 88 89EnumValue 90Enum(sram_ecc_type) String(off) Value(SRAM_ECC_OFF) 91 92EnumValue 93Enum(sram_ecc_type) String(on) Value(SRAM_ECC_ON) 94 95EnumValue 96Enum(sram_ecc_type) String(any) Value(SRAM_ECC_ANY) 97 98msram-ecc= 99Target RejectNegative Joined ToLower Enum(sram_ecc_type) Var(flag_sram_ecc) Init(SRAM_ECC_ANY) 100Compile for devices with the SRAM ECC feature enabled, or not. Default \"any\". 101