ompd_rc_t ompd_get_omp_version(
ompd_address_space_handle_t *address_space,
ompd_word_t *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.
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.
SummaryThe ompd_get_omp_version_string function returns a descriptive string for the OpenMP API version that is associated with an address space.
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.