![]() |
![]() |
OpenMP Runtime
|
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>
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. |
Implements initialization/termination for OMP runtime.
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
void tomp_initIcvNoParse | ( | void | ) |
Set icvs for master core's initial and implicit tasks without parsing the environment variables.
Used in the OpenCL context.
int tomp_initParallel | ( | void | ) |
Initialization function.
Called only by the master core
Sets up all the queues and associates them with execution objects