json parsing: avoid relying on floating point equality [PR117677]
[official-gcc.git] / libgomp / oacc-plugin.h
blob22be55aff2bb4adb4ae1c83a972c525e5a12763e
1 /* Copyright (C) 2014-2024 Free Software Foundation, Inc.
3 Contributed by Mentor Embedded.
5 This file is part of the GNU Offloading and Multi Processing Library
6 (libgomp).
8 Libgomp is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
11 any later version.
13 Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY
14 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15 FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 more details.
18 Under Section 7 of GPL version 3, you are granted additional
19 permissions described in the GCC Runtime Library Exception, version
20 3.1, as published by the Free Software Foundation.
22 You should have received a copy of the GNU General Public License and
23 a copy of the GCC Runtime Library Exception along with this program;
24 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
25 <http://www.gnu.org/licenses/>. */
27 #ifndef OACC_PLUGIN_H
28 #define OACC_PLUGIN_H 1
30 #include "oacc-int.h"
31 #include "acc_prof.h"
33 extern void GOMP_PLUGIN_async_unmap_vars (void *, int);
34 extern struct goacc_thread *GOMP_PLUGIN_goacc_thread (void);
35 extern void *GOMP_PLUGIN_acc_thread (void);
36 extern int GOMP_PLUGIN_acc_default_dim (unsigned int);
37 extern void GOMP_PLUGIN_goacc_profiling_dispatch (acc_prof_info *,
38 acc_event_info *,
39 acc_api_info *);
41 #endif