xref: /dragonfly/contrib/gcc-8.0/gcc/omp-offload.h (revision 38fd1498)
1*38fd1498Szrj /* Bits of OpenMP and OpenACC handling that is specific to device offloading
2*38fd1498Szrj    and a lowering pass for OpenACC device directives.
3*38fd1498Szrj 
4*38fd1498Szrj    Copyright (C) 2005-2018 Free Software Foundation, Inc.
5*38fd1498Szrj 
6*38fd1498Szrj This file is part of GCC.
7*38fd1498Szrj 
8*38fd1498Szrj GCC is free software; you can redistribute it and/or modify it under
9*38fd1498Szrj the terms of the GNU General Public License as published by the Free
10*38fd1498Szrj Software Foundation; either version 3, or (at your option) any later
11*38fd1498Szrj version.
12*38fd1498Szrj 
13*38fd1498Szrj GCC is distributed in the hope that it will be useful, but WITHOUT ANY
14*38fd1498Szrj WARRANTY; without even the implied warranty of MERCHANTABILITY or
15*38fd1498Szrj FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
16*38fd1498Szrj for more details.
17*38fd1498Szrj 
18*38fd1498Szrj You should have received a copy of the GNU General Public License
19*38fd1498Szrj along with GCC; see the file COPYING3.  If not see
20*38fd1498Szrj <http://www.gnu.org/licenses/>.  */
21*38fd1498Szrj 
22*38fd1498Szrj #ifndef GCC_OMP_DEVICE_H
23*38fd1498Szrj #define GCC_OMP_DEVICE_H
24*38fd1498Szrj 
25*38fd1498Szrj extern GTY(()) vec<tree, va_gc> *offload_funcs;
26*38fd1498Szrj extern GTY(()) vec<tree, va_gc> *offload_vars;
27*38fd1498Szrj 
28*38fd1498Szrj extern void omp_finish_file (void);
29*38fd1498Szrj 
30*38fd1498Szrj #endif /* GCC_OMP_DEVICE_H */
31