OpenMP Runtime
Functions
tomp_init.c File Reference

Implements initialization/termination for OMP runtime. More...

#include "tomp_parallel.h"
#include "tomp_init.h"
#include "tomp_util.h"
#include <ti/csl/csl_cache.h>
#include <stdlib.h>
Include dependency graph for tomp_init.c:

Functions

int tomp_initLocal (void)
 OpenMP local (per-core) initialization.
void tomp_initIcv (void)
 Set icvs for master core's initial and implicit tasks.
void tomp_initIcvNoParse (void)
 Set icvs for master core's initial and implicit tasks without parsing the environment variables.
void tomp_exitProcessing (void)
 Called by all cores (master & workers) before exit.
void tomp_exitLocalX (tomp_event_t eventHdl)
 Called by the worker cores (only) during program termination.
int tomp_initParallel (void)
 Initialization function.
void tomp_sendExitEvents (void)
 Terminate program across cores by sending events to the exit queue.
void __TI_omp_terminate (void)
 Terminate the OpenMP runtime.

Detailed Description

Implements initialization/termination for OMP runtime.


Function Documentation

void __TI_omp_terminate ( void  )

Terminate the OpenMP runtime.

Executed only be the master core. Pushes exit events to the worker exit queues to terminate execution on workers. Also does cleanup on the master

Here is the call graph for this function:

void tomp_initIcvNoParse ( void  )

Set icvs for master core's initial and implicit tasks without parsing the environment variables.

Used in the OpenCL context.

Here is the call graph for this function:

int tomp_initParallel ( void  )

Initialization function.

Called only by the master core

Sets up all the queues and associates them with execution objects

Here is the call graph for this function:

Here is the caller graph for this function:

 All Classes Files Functions Variables Typedefs Enumerations Defines