LLVM OpenMP 20.0.0git
Functions | Variables
omp_for_ordered.c File Reference
#include <stdio.h>
#include <math.h>
#include "omp_testsuite.h"

Go to the source code of this file.

Functions

static int check_i_islarger (int i)
 
int test_omp_for_ordered ()
 
int main ()
 

Variables

static int last_i = 0
 

Function Documentation

◆ check_i_islarger()

static int check_i_islarger ( int  i)
static

Definition at line 10 of file omp_for_ordered.c.

References i, and last_i.

Referenced by test_omp_for_ordered().

◆ main()

int main ( void  )

Definition at line 49 of file omp_for_ordered.c.

References i, REPETITIONS, and test_omp_for_ordered().

◆ test_omp_for_ordered()

int test_omp_for_ordered ( )

Definition at line 18 of file omp_for_ordered.c.

References check_i_islarger(), i, last_i, and sum.

Referenced by main().

Variable Documentation

◆ last_i

int last_i = 0
static

Definition at line 6 of file omp_for_ordered.c.

Referenced by check_i_islarger(), and test_omp_for_ordered().