HOME
| OPENMP API Specification: Version 5.1 November 2020

3.3.10  omp_display_affinity

Summary The omp_display_affinity routine prints the OpenMP thread affinity information using the format specification provided.

Format

SVG-Viewer needed.

 

 
void omp_display_affinity(const char *format);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
subroutine omp_display_affinity(format) 
character(len=*),intent(in) :: format  

SVG-Viewer needed.

Binding The binding thread set for an omp_display_affinity region is the encountering thread.

Effect The omp_display_affinity routine prints the thread affinity information of the current thread in the format specified by the format argument, followed by a new-line. If the format is NULL (for C/C++) or a zero-length string (for Fortran and C/C++), the value of the affinity-format-var ICV is used. If the format argument does not conform to the specified format then the result is implementation defined.

Cross References