HOME
| OPENMP API Specification: Version 5.0 November 2018

5.5.4  Address Space Information

5.5.4.1 ompd_get_omp_version

SummaryThe tool may call the ompd_get_omp_version function to obtain the version of the OpenMP API that is associated with an address space.

Format

SVG-Viewer needed.

 

 
ompd_rc_t ompd_get_omp_version( 
  ompd_address_space_handle_t *address_space, 
  ompd_word_t *omp_version 
);  

SVG-Viewer needed.

DescriptionThe tool may call the ompd_get_omp_version function to obtain the version of the OpenMP API that is associated with the address space.

Description of ArgumentsThe address_space argument is an opaque handle that the tool provides to reference the address space of the OpenMP process or device. Upon return, the omp_version argument contains the version of the OpenMP runtime in the _OPENMP version macro format.

Cross References

5.5.4.2 ompd_get_omp_version_string

SummaryThe ompd_get_omp_version_string function returns a descriptive string for the OpenMP API version that is associated with an address space.

Format

SVG-Viewer needed.

 

 
ompd_rc_t ompd_get_omp_version_string( 
  ompd_address_space_handle_t *address_space, 
  const char **string 
);  

SVG-Viewer needed.

DescriptionAfter initialization, the tool may call the ompd_get_omp_version_string function to obtain the version of the OpenMP API that is associated with an address space.

Description of ArgumentsThe address_space argument is an opaque handle that the tool provides to reference the address space of the OpenMP process or device. A pointer to a descriptive version string is placed into the location to which the string output argument points. After returning from the call, the tool owns the string. The OMPD library must use the memory allocation callback that the tool provides to allocate the string storage. The tool is responsible for releasing the memory.

Cross References