LLVM OpenMP 22.0.0git
omp_monotonic_schedule_set_get.c File Reference
#include <stdio.h>
#include "omp.h"

Go to the source code of this file.

Macros

#define _OMPIMP
#define NO_MODIFIERS   ((omp_sched_t)0)

Functions

omp_sched_t sched_append_modifiers (omp_sched_t sched, omp_sched_t modifiers)
omp_sched_t sched_without_modifiers (omp_sched_t sched)
int sched_has_modifiers (omp_sched_t sched, omp_sched_t modifiers)
void check_schedule (const char *extra, const omp_sched_t sched, int chunk, omp_sched_t hope_sched, int hope_chunk)
int main ()

Variables

int global = 0
int err = 0

Macro Definition Documentation

◆ _OMPIMP

#define _OMPIMP

Definition at line 10 of file omp_monotonic_schedule_set_get.c.

◆ NO_MODIFIERS

#define NO_MODIFIERS   ((omp_sched_t)0)

Definition at line 13 of file omp_monotonic_schedule_set_get.c.

Function Documentation

◆ check_schedule()

void check_schedule ( const char * extra,
const omp_sched_t sched,
int chunk,
omp_sched_t hope_sched,
int hope_chunk )

Definition at line 33 of file omp_monotonic_schedule_set_get.c.

References err.

Referenced by main().

◆ main()

◆ sched_append_modifiers()

omp_sched_t sched_append_modifiers ( omp_sched_t sched,
omp_sched_t modifiers )

Definition at line 20 of file omp_monotonic_schedule_set_get.c.

References int.

Referenced by main().

◆ sched_has_modifiers()

int sched_has_modifiers ( omp_sched_t sched,
omp_sched_t modifiers )

Definition at line 28 of file omp_monotonic_schedule_set_get.c.

◆ sched_without_modifiers()

omp_sched_t sched_without_modifiers ( omp_sched_t sched)

Definition at line 24 of file omp_monotonic_schedule_set_get.c.

References int.

Variable Documentation

◆ err

int err = 0

Definition at line 18 of file omp_monotonic_schedule_set_get.c.

◆ global

int global = 0

Definition at line 17 of file omp_monotonic_schedule_set_get.c.

Referenced by main().