#include <omp.h>
#include <string.h>
#include <assert.h>
#include "libgomp_g.h"
Include dependency graph for loop-2.c:
Go to the source code of this file.
Defines | |
#define | N 360 |
Functions | |
static void | clean_data (void) |
static void | test_data (void) |
static void | set_data (long i, int thr, int iter) |
static void | f_static_1 (void *dummy) |
static void | test (void) |
int | main () |
Variables | |
static int | data [N][2] |
static int | INCR |
static int | NTHR |
static int | CHUNK |
static void clean_data | ( | void | ) | [static] |
static void f_static_1 | ( | void * | dummy | ) | [static] |
Definition at line 71 of file loop-2.c.
References CHUNK, count, GOMP_loop_end(), GOMP_loop_static_next(), GOMP_loop_static_start(), i, INCR, N, omp_get_thread_num(), and set_data().
Referenced by test().
Here is the call graph for this function:
Here is the caller graph for this function:
int main | ( | void | ) |
static void set_data | ( | long | i, | |
int | thr, | |||
int | iter | |||
) | [static] |
static void test | ( | void | ) | [static] |
Definition at line 86 of file loop-2.c.
References clean_data(), f_static_1(), GOMP_parallel_end(), GOMP_parallel_start(), NTHR, and test_data().
Here is the call graph for this function:
static void test_data | ( | void | ) | [static] |