mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-18 19:16:43 +00:00
[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:
parent
a017653376
commit
d4f3d24e7f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user