LLVM OpenMP 20.0.0git
Functions | Variables
omp_monotonic_env.c File Reference
#include <stdio.h>
#include <string.h>
#include <omp.h>

Go to the source code of this file.

Functions

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)
 
omp_sched_t str2omp_sched (const char *str)
 
int is_monotonic (const char *str)
 
int main (int argc, char **argv)
 

Variables

int err = 0
 

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 27 of file omp_monotonic_env.c.

References err.

◆ is_monotonic()

int is_monotonic ( const char str)

Definition at line 48 of file omp_monotonic_env.c.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

◆ sched_has_modifiers()

int sched_has_modifiers ( omp_sched_t  sched,
omp_sched_t  modifiers 
)

Definition at line 22 of file omp_monotonic_env.c.

References int.

Referenced by main().

◆ sched_without_modifiers()

omp_sched_t sched_without_modifiers ( omp_sched_t  sched)

Definition at line 18 of file omp_monotonic_env.c.

References int.

Referenced by main().

◆ str2omp_sched()

omp_sched_t str2omp_sched ( const char str)

Definition at line 37 of file omp_monotonic_env.c.

References omp_sched_dynamic, omp_sched_guided, and omp_sched_static.

Referenced by main().

Variable Documentation

◆ err

int err = 0

Definition at line 16 of file omp_monotonic_env.c.

Referenced by check_schedule(), and main().