Skip to content

Commit fb76d2c

Browse files
committed
[OpenMP] Add ompt_start_tool declaration in omp-tools.h
The function ompt_start_tool is a globally-visible C function according to the specification.
1 parent 259ce11 commit fb76d2c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

openmp/runtime/src/include/omp-tools.h.var

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,6 +1408,12 @@ typedef ompt_record_ompt_t *(*ompt_get_record_ompt_t) (
14081408
ompt_buffer_cursor_t current
14091409
);
14101410

1411+
#ifdef _WIN32
1412+
__declspec(dllexport)
1413+
#endif
1414+
ompt_start_tool_result_t *ompt_start_tool(unsigned int omp_version,
1415+
const char *runtime_version);
1416+
14111417
#define ompt_id_none 0
14121418
#define ompt_data_none {0}
14131419
#define ompt_time_none 0

0 commit comments

Comments
 (0)