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

#include <omp.h>

Include dependency graph for loop-12.c:

Go to the source code of this file.

Defines

#define LLONG_MAX   __LONG_LONG_MAX__
#define ULLONG_MAX   (LLONG_MAX * 2ULL + 1)
#define INT_MAX   __INT_MAX__
#define check(var, val, loopidx, idx)   if (var == (val)) set (loopidx, idx); else
#define test(loopidx, count)

Functions

void abort (void)
void set (int loopidx, int idx)
int test1 (void)
int test2 (void)
int test3 (void)
int test4 (void)
int test5 (void)
int main (void)

Variables

int arr [6 *5]


Define Documentation

#define check ( var,
val,
loopidx,
idx   )     if (var == (val)) set (loopidx, idx); else

Definition at line 20 of file loop-12.c.

Referenced by bar(), baz(), f1(), f2(), f3(), foo(), main(), test1(), test2(), test3(), test4(), and test5().

#define INT_MAX   __INT_MAX__

Definition at line 9 of file loop-12.c.

Referenced by gomp_barrier_wait_end(), gomp_ptrlock_set_slow(), gomp_team_barrier_wait_end(), gomp_team_barrier_wake(), omp_get_thread_limit(), test1(), test2(), test3(), test4(), and test5().

#define LLONG_MAX   __LONG_LONG_MAX__

Definition at line 7 of file loop-12.c.

Referenced by test1(), test2(), test3(), test4(), and test5().

#define test ( loopidx,
count   ) 

Value:

for (idx = 0; idx < 5; idx++) \
    if (arr[loopidx * 5 + idx] != idx < count) \
      abort (); \
    else \
      arr[loopidx * 5 + idx] = 0

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

Referenced by f_copy(), f_nocopy(), function(), gomp_loop_ordered_static_next(), gomp_loop_ull_ordered_static_next(), main(), test1(), test2(), test3(), test4(), and test5().

#define ULLONG_MAX   (LLONG_MAX * 2ULL + 1)

Definition at line 8 of file loop-12.c.

Referenced by test1(), test2(), test3(), test4(), and test5().


Function Documentation

void abort ( void   ) 

int main ( void   ) 

Definition at line 370 of file loop-12.c.

References omp_set_schedule(), test1(), test2(), test3(), test4(), and test5().

Here is the call graph for this function:

void set ( int  loopidx,
int  idx 
)

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

References arr.

int test1 ( void   ) 

Definition at line 30 of file loop-12.c.

References abort(), check, e, i, INT_MAX, j, LLONG_MAX, test, and ULLONG_MAX.

Here is the call graph for this function:

int test2 ( void   ) 

Definition at line 98 of file loop-12.c.

References abort(), check, e, i, INT_MAX, j, LLONG_MAX, test, and ULLONG_MAX.

Here is the call graph for this function:

int test3 ( void   ) 

Definition at line 166 of file loop-12.c.

References abort(), check, e, i, INT_MAX, j, LLONG_MAX, test, and ULLONG_MAX.

Here is the call graph for this function:

int test4 ( void   ) 

Definition at line 234 of file loop-12.c.

References abort(), check, e, i, INT_MAX, j, LLONG_MAX, test, and ULLONG_MAX.

Here is the call graph for this function:

int test5 ( void   ) 

Definition at line 302 of file loop-12.c.

References abort(), check, e, i, INT_MAX, j, LLONG_MAX, test, and ULLONG_MAX.

Referenced by __attribute__(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

int arr[6 *5]

Definition at line 11 of file loop-12.c.

Referenced by set().


Generated on Fri Apr 5 05:40:59 2013 for Libgomp by  doxygen 1.4.7