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

Go to the source code of this file.

Functions

int test_omp_for_firstprivate ()
 
int main ()
 

Variables

int sum1
 

Function Documentation

◆ main()

int main ( void  )

Definition at line 44 of file omp_for_firstprivate.c.

References i, REPETITIONS, and test_omp_for_firstprivate().

◆ test_omp_for_firstprivate()

int test_omp_for_firstprivate ( )

Definition at line 9 of file omp_for_firstprivate.c.

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

Referenced by main().

Variable Documentation

◆ sum1

int sum1

Definition at line 6 of file omp_for_firstprivate.c.

Referenced by test_omp_for_firstprivate().