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