LLVM OpenMP 22.0.0git
omp_threadprivate.c File Reference
#include "omp_testsuite.h"
#include <stdlib.h>
#include <stdio.h>

Go to the source code of this file.

Functions

int test_omp_threadprivate ()
int main ()

Variables

static int sum0 =0
static int myvalue = 0

Function Documentation

◆ main()

int main ( void )

Definition at line 91 of file omp_threadprivate.c.

References i, REPETITIONS, and test_omp_threadprivate().

◆ test_omp_threadprivate()

int test_omp_threadprivate ( )

Definition at line 20 of file omp_threadprivate.c.

References data, i, LOOPCOUNT, myvalue, omp_get_num_threads(), omp_set_dynamic, rank, size, sum, and sum0.

Referenced by main().

Variable Documentation

◆ myvalue

int myvalue = 0
static

Definition at line 15 of file omp_threadprivate.c.

Referenced by test_omp_threadprivate().

◆ sum0