LLVM OpenMP
parallel-wsloop-intfor.c File Reference
#include <omp.h>
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Macros

#define HEADER

Enumerations

enum  { NThreads = 2 , MaxIters = 4 }

Functions

static void dump (const char *tag, int count[NThreads], int pairs[NThreads][MaxIters][2])
int main ()

Macro Definition Documentation

◆ HEADER

#define HEADER

Definition at line 12 of file parallel-wsloop-intfor.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NThreads 
MaxIters 

Definition at line 18 of file parallel-wsloop-intfor.c.

Function Documentation

◆ dump()

void dump ( const char * tag,
int count[NThreads],
int pairs[NThreads][MaxIters][2] )
static

Definition at line 20 of file parallel-wsloop-intfor.c.

References count, MaxIters, and NThreads.

Referenced by main().

◆ main()

int main ( void )

Definition at line 30 of file parallel-wsloop-intfor.c.

References count, dump(), i, j, MaxIters, and NThreads.