1*0bfacb9bSmrg /* Support for AMD GCN offloading. 2*0bfacb9bSmrg 3*0bfacb9bSmrg Copyright (C) 2014-2020 Free Software Foundation, Inc. 4*0bfacb9bSmrg 5*0bfacb9bSmrg This file is part of GCC. 6*0bfacb9bSmrg 7*0bfacb9bSmrg GCC is free software; you can redistribute it and/or modify 8*0bfacb9bSmrg it under the terms of the GNU General Public License as published by 9*0bfacb9bSmrg the Free Software Foundation; either version 3, or (at your option) 10*0bfacb9bSmrg any later version. 11*0bfacb9bSmrg 12*0bfacb9bSmrg GCC is distributed in the hope that it will be useful, 13*0bfacb9bSmrg but WITHOUT ANY WARRANTY; without even the implied warranty of 14*0bfacb9bSmrg MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15*0bfacb9bSmrg GNU General Public License for more details. 16*0bfacb9bSmrg 17*0bfacb9bSmrg Under Section 7 of GPL version 3, you are granted additional 18*0bfacb9bSmrg permissions described in the GCC Runtime Library Exception, version 19*0bfacb9bSmrg 3.1, as published by the Free Software Foundation. 20*0bfacb9bSmrg 21*0bfacb9bSmrg You should have received a copy of the GNU General Public License and 22*0bfacb9bSmrg a copy of the GCC Runtime Library Exception along with this program; 23*0bfacb9bSmrg see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 24*0bfacb9bSmrg <http://www.gnu.org/licenses/>. */ 25*0bfacb9bSmrg 26*0bfacb9bSmrg #ifndef GCC_GCN_OFFLOAD_H 27*0bfacb9bSmrg #define GCC_GCN_OFFLOAD_H 28*0bfacb9bSmrg 29*0bfacb9bSmrg /* Support for OpenACC acc_on_device. */ 30*0bfacb9bSmrg 31*0bfacb9bSmrg #include "gomp-constants.h" 32*0bfacb9bSmrg 33*0bfacb9bSmrg #define ACCEL_COMPILER_acc_device GOMP_DEVICE_GCN 34*0bfacb9bSmrg 35*0bfacb9bSmrg #endif 36