blob: 86b433caae8db9548e7e4db2a65cec97a36a0387 [file] [log] [blame]
/* Definitions for the NVPTX port needed for option handling.
Copyright (C) 2015-2022 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/>. */
#ifndef NVPTX_OPTS_H
#define NVPTX_OPTS_H
enum ptx_isa
{
#define NVPTX_SM(XX, SEP) PTX_ISA_SM ## XX SEP
#define NVPTX_SM_SEP ,
#include "nvptx-sm.def"
#undef NVPTX_SM_SEP
#undef NVPTX_SM
};
enum ptx_version
{
PTX_VERSION_default,
PTX_VERSION_3_0,
PTX_VERSION_3_1,
PTX_VERSION_4_2,
PTX_VERSION_6_0,
PTX_VERSION_6_3,
PTX_VERSION_7_0
};
#endif