1  /* Definitions for the NVPTX port needed for option handling.
       2     Copyright (C) 2015-2023 Free Software Foundation, Inc.
       3  
       4     This file is part of GCC.
       5  
       6     GCC is free software; you can redistribute it and/or modify it
       7     under the terms of the GNU General Public License as published
       8     by the Free Software Foundation; either version 3, or (at your
       9     option) any later version.
      10  
      11     GCC is distributed in the hope that it will be useful, but WITHOUT
      12     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
      13     or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
      14     License for more details.
      15  
      16     You should have received a copy of the GNU General Public License
      17     along with GCC; see the file COPYING3.  If not see
      18     <http://www.gnu.org/licenses/>.  */
      19  
      20  #ifndef NVPTX_OPTS_H
      21  #define NVPTX_OPTS_H
      22  
      23  enum ptx_isa
      24  {
      25  #define NVPTX_SM(XX, SEP) PTX_ISA_SM ## XX SEP
      26  #define NVPTX_SM_SEP ,
      27  #include "nvptx-sm.def"
      28  #undef NVPTX_SM_SEP
      29  #undef NVPTX_SM
      30  };
      31  
      32  enum ptx_version
      33  {
      34    PTX_VERSION_default,
      35    PTX_VERSION_3_0,
      36    PTX_VERSION_3_1,
      37    PTX_VERSION_4_2,
      38    PTX_VERSION_6_0,
      39    PTX_VERSION_6_3,
      40    PTX_VERSION_7_0
      41  };
      42  
      43  #endif
      44