omp-offload.h 1.0 KB

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