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

Go to the source code of this file.

Functions

static void do_some_work ()
 
int test_omp_for_private ()
 
int main ()
 

Variables

int sum1
 

Function Documentation

◆ do_some_work()

static void do_some_work ( void  )
static

Definition at line 7 of file omp_for_private.c.

References i, and sum.

Referenced by test_omp_for_private().

◆ main()

int main ( void  )

Definition at line 52 of file omp_for_private.c.

References i, REPETITIONS, and test_omp_for_private().

◆ test_omp_for_private()

int test_omp_for_private ( )

Definition at line 19 of file omp_for_private.c.

References do_some_work(), i, LOOPCOUNT, sum, sum0, and sum1.

Referenced by main().

Variable Documentation

◆ sum1

int sum1

Definition at line 16 of file omp_for_private.c.

Referenced by test_omp_for_private().