[OpenMP] Add ompt_start_tool declaration in omp-tools.h (#97099)

The function ompt_start_tool is a globally-visible C function according
to the specification.
This commit is contained in:
Hansang Bae 2024-07-03 12:59:34 -05:00 committed by GitHub
parent a017653376
commit d4f3d24e7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1408,6 +1408,14 @@ typedef ompt_record_ompt_t *(*ompt_get_record_ompt_t) (
ompt_buffer_cursor_t current
);
#ifdef _WIN32
__declspec(dllexport)
#else
__attribute__((visibility("default")))
#endif
ompt_start_tool_result_t *ompt_start_tool(unsigned int omp_version,
const char *runtime_version);
#define ompt_id_none 0
#define ompt_data_none {0}
#define ompt_time_none 0