diff options
Diffstat (limited to 'libgomp/libgomp_g.h')
-rw-r--r-- | libgomp/libgomp_g.h | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/libgomp/libgomp_g.h b/libgomp/libgomp_g.h index a31e3458c1b..32c4cf61421 100644 --- a/libgomp/libgomp_g.h +++ b/libgomp/libgomp_g.h @@ -33,6 +33,7 @@ /* barrier.c */ extern void GOMP_barrier (void); +extern bool GOMP_barrier_cancel (void); /* critical.c */ @@ -76,9 +77,22 @@ extern void GOMP_parallel_loop_guided_start (void (*)(void *), void *, unsigned, long, long, long, long); extern void GOMP_parallel_loop_runtime_start (void (*)(void *), void *, unsigned, long, long, long); +extern void GOMP_parallel_loop_static (void (*)(void *), void *, + unsigned, long, long, long, long, + unsigned); +extern void GOMP_parallel_loop_dynamic (void (*)(void *), void *, + unsigned, long, long, long, long, + unsigned); +extern void GOMP_parallel_loop_guided (void (*)(void *), void *, + unsigned, long, long, long, long, + unsigned); +extern void GOMP_parallel_loop_runtime (void (*)(void *), void *, + unsigned, long, long, long, + unsigned); extern void GOMP_loop_end (void); extern void GOMP_loop_end_nowait (void); +extern bool GOMP_loop_end_cancel (void); /* loop_ull.c */ @@ -157,13 +171,18 @@ extern void GOMP_ordered_end (void); extern void GOMP_parallel_start (void (*) (void *), void *, unsigned); extern void GOMP_parallel_end (void); +extern void GOMP_parallel (void (*) (void *), void *, unsigned, unsigned); +extern bool GOMP_cancel (int, bool); +extern bool GOMP_cancellation_point (int); /* task.c */ extern void GOMP_task (void (*) (void *), void *, void (*) (void *, void *), - long, long, bool, unsigned); + long, long, bool, unsigned, void **); extern void GOMP_taskwait (void); extern void GOMP_taskyield (void); +extern void GOMP_taskgroup_start (void); +extern void GOMP_taskgroup_end (void); /* sections.c */ @@ -171,8 +190,11 @@ extern unsigned GOMP_sections_start (unsigned); extern unsigned GOMP_sections_next (void); extern void GOMP_parallel_sections_start (void (*) (void *), void *, unsigned, unsigned); +extern void GOMP_parallel_sections (void (*) (void *), void *, + unsigned, unsigned, unsigned); extern void GOMP_sections_end (void); extern void GOMP_sections_end_nowait (void); +extern bool GOMP_sections_end_cancel (void); /* single.c */ @@ -180,4 +202,15 @@ extern bool GOMP_single_start (void); extern void *GOMP_single_copy_start (void); extern void GOMP_single_copy_end (void *); +/* target.c */ + +extern void GOMP_target (int, void (*) (void *), const void *, + size_t, void **, size_t *, unsigned char *); +extern void GOMP_target_data (int, const void *, + size_t, void **, size_t *, unsigned char *); +extern void GOMP_target_end_data (void); +extern void GOMP_target_update (int, const void *, + size_t, void **, size_t *, unsigned char *); +extern void GOMP_teams (unsigned int, unsigned int); + #endif /* LIBGOMP_G_H */ |