LLVM OpenMP 22.0.0git
teams.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <omp.h>

Go to the source code of this file.

Macros

#define NUM_TEAMS   2
#define NUM_THREADS_PER_TEAM   3

Functions

int main (int argc, char **argv)

Macro Definition Documentation

◆ NUM_TEAMS

#define NUM_TEAMS   2

Definition at line 9 of file teams.c.

Referenced by main().

◆ NUM_THREADS_PER_TEAM

#define NUM_THREADS_PER_TEAM   3

Definition at line 10 of file teams.c.

Referenced by main().

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 12 of file teams.c.

References i, NUM_TEAMS, NUM_THREADS_PER_TEAM, and omp_get_num_threads().