OpenMP Runtime
Public Attributes
tomp_Team Struct Reference

Describes a team of "threads". More...

#include <tomp_parallel.h>

Collaboration diagram for tomp_Team:
Collaboration graph
[legend]

List of all members.

Public Attributes

unsigned int nthreads
 Number of threads in the current team.
tomp_Barrier barrier
 This barrier is used for most synchronization of the team.
volatile unsigned int task_count
 Counter of task that have not completed execution.
volatile unsigned int curr_task_id
 Count of the number of tasks in the current parallel region.
struct gomp_work_share dummy_ws
volatile unsigned char ordered_release [TOMP_DEVICE_NUM_CORES]
 Array used to gate entry of a thread into an ordered region.
unsigned int DP
tomp_event_t event
 Event pointer to free the team.
struct _tomp_TeamState * prev_ts
 Previous team state that applied to a master thread in its.

Detailed Description

Describes a team of "threads".

Allocated and initialized at the start of a parallel region Free'd at the end of a parallel region


Member Data Documentation

  • "Dummy" work share, used for it's next_ws pointer for worksharing
    • Used by combined worksharing constructs with schedule clause - these only require a single workshare construct

The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Defines