LLVM OpenMP 20.0.0git
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "omp.h"
Go to the source code of this file.
Macros | |
#define | MAX_BOUND 64 |
#define | NO_EFFICIENCY_CHECK |
Functions | |
unsigned * | Alloc (unsigned bound1, unsigned bound2) |
void | ZeroOut (unsigned *p, unsigned bound1, unsigned bound2) |
void | Free (unsigned *p) |
unsigned * | Index (unsigned *p, unsigned i, unsigned j, unsigned bound2) |
int | test (unsigned upper_bound) |
int | main () |
Variables | |
unsigned * | execution_count = NULL |
unsigned * | iterations_per_thread = NULL |
#define MAX_BOUND 64 |
Definition at line 8 of file omp_for_collapse_LowerTriangularLess.c.
#define NO_EFFICIENCY_CHECK |
Definition at line 11 of file omp_for_collapse_LowerTriangularLess.c.
unsigned * Alloc | ( | unsigned | bound1, |
unsigned | bound2 | ||
) |
Definition at line 20 of file omp_for_collapse_LowerTriangularLess.c.
Referenced by main().
void Free | ( | unsigned * | p | ) |
Definition at line 28 of file omp_for_collapse_LowerTriangularLess.c.
References p.
Referenced by main().
unsigned * Index | ( | unsigned * | p, |
unsigned | i, | ||
unsigned | j, | ||
unsigned | bound2 | ||
) |
Definition at line 112 of file omp_for_collapse_LowerTriangularLess.c.
References Alloc(), execution_count, Free(), iterations_per_thread, j, MAX_BOUND, omp_get_max_threads(), and test().
int test | ( | unsigned | upper_bound | ) |
Definition at line 34 of file omp_for_collapse_LowerTriangularLess.c.
References execution_count, i, Index(), iterations_per_thread, j, omp_get_max_threads(), omp_set_num_threads, value, and ZeroOut().
Referenced by __kmpc_test_nest_lock(), and main().
void ZeroOut | ( | unsigned * | p, |
unsigned | bound1, | ||
unsigned | bound2 | ||
) |
Definition at line 24 of file omp_for_collapse_LowerTriangularLess.c.
References p.
Referenced by test().
unsigned* execution_count = NULL |
Definition at line 16 of file omp_for_collapse_LowerTriangularLess.c.
unsigned* iterations_per_thread = NULL |
Definition at line 18 of file omp_for_collapse_LowerTriangularLess.c.