testsuite/libgomp.c/omp_orphan.c File Reference

#include <omp.h>
#include <stdio.h>
#include <stdlib.h>

Include dependency graph for omp_orphan.c:

Go to the source code of this file.

Defines

#define VECLEN   100

Functions

float dotprod ()
int main (int argc, char *argv[])

Variables

float a [VECLEN]
float b [VECLEN]
float sum


Define Documentation

#define VECLEN   100

Definition at line 13 of file omp_orphan.c.

Referenced by dotprod(), and main().


Function Documentation

float dotprod (  ) 

Definition at line 17 of file omp_orphan.c.

References a, b, i, omp_get_thread_num(), sum, and VECLEN.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  argc,
char *  argv[] 
)

Definition at line 33 of file omp_orphan.c.

References a, b, dotprod(), i, sum, and VECLEN.

Here is the call graph for this function:


Variable Documentation

float a[VECLEN]

Definition at line 15 of file omp_orphan.c.

float b[VECLEN]

Definition at line 15 of file omp_orphan.c.

Referenced by B< N >::B(), bar(), check(), dotprod(), f3(), f4(), foo(), main(), main1(), nqueens(), B< N >::operator=(), test1(), and test2().

float sum

Definition at line 15 of file omp_orphan.c.

Referenced by dotprod(), g(), and main().


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