LLVM OpenMP 20.0.0git
Functions
omp_parallel_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 (void)
 Utility function to spend some time in a loop.
 
int test_omp_parallel_for_private ()
 
int main ()
 

Function Documentation

◆ do_some_work()

static void do_some_work ( void  )
static

Utility function to spend some time in a loop.

Definition at line 7 of file omp_parallel_for_private.c.

References i, and sum.

Referenced by test_omp_parallel_for_private().

◆ main()

int main ( void  )

Definition at line 39 of file omp_parallel_for_private.c.

References i, REPETITIONS, and test_omp_parallel_for_private().

◆ test_omp_parallel_for_private()

int test_omp_parallel_for_private ( )

Definition at line 16 of file omp_parallel_for_private.c.

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

Referenced by main().