testsuite/libgomp.c/loop-2.c File Reference

#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


Define Documentation

#define N   360

Definition at line 13 of file loop-2.c.


Function Documentation

static void clean_data ( void   )  [static]

Definition at line 17 of file loop-2.c.

References data, and memset().

Here is the call graph for this function:

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   ) 

Definition at line 95 of file loop-2.c.

References CHUNK, INCR, NTHR, omp_set_dynamic(), and test.

Here is the call graph for this function:

static void set_data ( long  i,
int  thr,
int  iter 
) [static]

Definition at line 61 of file loop-2.c.

References data, and N.

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]

Definition at line 22 of file loop-2.c.

References c, CHUNK, data, i, INCR, N, n, NTHR, and thr.


Variable Documentation

int CHUNK [static]

Definition at line 15 of file loop-2.c.

int data[N][2] [static]

Definition at line 14 of file loop-2.c.

int INCR [static]

Definition at line 15 of file loop-2.c.

int NTHR [static]

Definition at line 15 of file loop-2.c.


Generated on Fri Apr 5 05:41:01 2013 for Libgomp by  doxygen 1.4.7