diff gcc/config/nvptx/nvptx.opt @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
line wrap: on
line diff
--- a/gcc/config/nvptx/nvptx.opt	Fri Oct 27 22:46:09 2017 +0900
+++ b/gcc/config/nvptx/nvptx.opt	Thu Oct 25 07:37:49 2018 +0900
@@ -1,5 +1,5 @@
 ; Options for the NVPTX port
-; Copyright (C) 2014-2017 Free Software Foundation, Inc.
+; Copyright (C) 2014-2018 Free Software Foundation, Inc.
 ;
 ; This file is part of GCC.
 ;
@@ -48,3 +48,17 @@
 mgomp
 Target Report Mask(GOMP)
 Generate code for OpenMP offloading: enables -msoft-stack and -muniform-simt.
+
+Enum
+Name(ptx_isa) Type(int)
+Known PTX ISA versions (for use with the -misa= option):
+
+EnumValue
+Enum(ptx_isa) String(sm_30) Value(PTX_ISA_SM30)
+
+EnumValue
+Enum(ptx_isa) String(sm_35) Value(PTX_ISA_SM35)
+
+misa=
+Target RejectNegative ToLower Joined Enum(ptx_isa) Var(ptx_isa_option) Init(PTX_ISA_SM30)
+Specify the version of the ptx ISA to use.