HOME
| OPENMP API Specification: Version 5.1 November 2020

5.6.2  Ending Parallel Regions

Summary After finishing the execution of an OpenMP parallel region, the implementation executes ompd_bp_parallel_end.

Format

SVG-Viewer needed.

 

 
void ompd_bp_parallel_end(void);  

SVG-Viewer needed.

Description The OpenMP implementation must execute ompd_bp_parallel_end at every parallel-end event. At the point that the implementation reaches ompd_bp_parallel_end, the binding for ompd_get_curr_parallel_handle is the parallel region that is ending and the binding for ompd_get_curr_task_handle is the task that encountered the parallel construct. After execution of ompd_bp_parallel_end, any parallel_handle that was acquired for the parallel region is invalid and should be released.

Cross References