[Openmp-commits] [openmp] 52da6f5 - Revert "[openmp] Add OMPT initialization in libomptarget"
Joachim Protze via Openmp-commits
openmp-commits at lists.llvm.org
Wed Nov 10 03:45:45 PST 2021
Author: Joachim Protze
Date: 2021-11-10T12:44:25+01:00
New Revision: 52da6f562e7d45f03ca4c5e291987f4ebdacccf1
URL: https://github.com/llvm/llvm-project/commit/52da6f562e7d45f03ca4c5e291987f4ebdacccf1
DIFF: https://github.com/llvm/llvm-project/commit/52da6f562e7d45f03ca4c5e291987f4ebdacccf1.diff
LOG: Revert "[openmp] Add OMPT initialization in libomptarget"
Reverting initial OMPT for target implementation in favor of a
different implementation.
This reverts commit 3bc8ce5dd718beef0031bf4b070ac4026e6910d7.
Added:
Modified:
openmp/libomptarget/CMakeLists.txt
openmp/libomptarget/src/CMakeLists.txt
openmp/libomptarget/src/rtl.cpp
openmp/runtime/cmake/config-ix.cmake
openmp/runtime/src/exports_so.txt
openmp/runtime/src/include/omp-tools.h.var
openmp/runtime/src/ompt-event-specific.h
openmp/runtime/src/ompt-general.cpp
openmp/runtime/src/ompt-internal.h
Removed:
openmp/libomptarget/src/ompt-target.cpp
openmp/libomptarget/src/ompt-target.h
################################################################################
diff --git a/openmp/libomptarget/CMakeLists.txt b/openmp/libomptarget/CMakeLists.txt
index c106c4e27e7e4..8d5a7bd8cbfdb 100644
--- a/openmp/libomptarget/CMakeLists.txt
+++ b/openmp/libomptarget/CMakeLists.txt
@@ -50,19 +50,6 @@ set (LIBOMPTARGET_ALL_TARGETS "${LIBOMPTARGET_ALL_TARGETS} nvptx64-nvidia-cuda-n
set (LIBOMPTARGET_SYSTEM_TARGETS "")
set (LIBOMPTARGET_TESTED_PLUGINS "")
-# Check OMPT support
-set(OMPT_DEFAULT_IN_LIBOMPTARGET FALSE)
-if ((LIBOMP_HAVE_OMPT_SUPPORT) AND (NOT WIN32))
- set(OMPT_DEFAULT_IN_LIBOMPTARGET TRUE)
-endif()
-set(LIBOMP_OMPT_SUPPORT_IN_LIBOMPTARGET ${OMPT_DEFAULT_IN_LIBOMPTARGET} CACHE BOOL
- "OMPT-support in libomptarget?")
-if(LIBOMP_OMPT_SUPPORT_IN_LIBOMPTARGET)
- message(STATUS "OMPT enabled in libomptarget")
-else()
- message(STATUS "OMPT disabled in libomptarget")
-endif()
-
# Check whether using debug mode. In debug mode, allow dumping progress
# messages at runtime by default. Otherwise, it can be enabled
# independently using the LIBOMPTARGET_ENABLE_DEBUG option.
diff --git a/openmp/libomptarget/src/CMakeLists.txt b/openmp/libomptarget/src/CMakeLists.txt
index c1ed7861076b1..376e8318bd2c6 100644
--- a/openmp/libomptarget/src/CMakeLists.txt
+++ b/openmp/libomptarget/src/CMakeLists.txt
@@ -20,12 +20,8 @@ set(LIBOMPTARGET_SRC_FILES
${CMAKE_CURRENT_SOURCE_DIR}/omptarget.cpp
)
-if(LIBOMP_OMPT_SUPPORT_IN_LIBOMPTARGET)
- list(APPEND LIBOMPTARGET_SRC_FILES ${CMAKE_CURRENT_SOURCE_DIR}/ompt-target.cpp)
- list(APPEND LIBOMPTARGET_LLVM_INCLUDE_DIRS ${LIBOMP_INCLUDE_DIR})
-endif()
-
set(LIBOMPTARGET_SRC_FILES ${LIBOMPTARGET_SRC_FILES} PARENT_SCOPE)
+
include_directories(${LIBOMPTARGET_LLVM_INCLUDE_DIRS})
# Build libomptarget library with libdl dependency.
diff --git a/openmp/libomptarget/src/ompt-target.cpp b/openmp/libomptarget/src/ompt-target.cpp
deleted file mode 100644
index 0822a2de0fa91..0000000000000
--- a/openmp/libomptarget/src/ompt-target.cpp
+++ /dev/null
@@ -1,3 +0,0 @@
-#include "ompt-target.h"
-
-ompt_target_callbacks_active_t ompt_target_enabled;
diff --git a/openmp/libomptarget/src/ompt-target.h b/openmp/libomptarget/src/ompt-target.h
deleted file mode 100644
index 2c41f8744abe3..0000000000000
--- a/openmp/libomptarget/src/ompt-target.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef LIBOMPTARGET_OMPT_TARGET_H
-#define LIBOMPTARGET_OMPT_TARGET_H
-
-#include "omp-tools.h"
-
-#define _OMP_EXTERN extern "C"
-
-#define OMPT_WEAK_ATTRIBUTE __attribute__((weak))
-
-// The following structs are used to pass target-related OMPT callbacks to
-// libomptarget. The structs' definitions should be in sync with the definitions
-// in libomptarget/src/ompt_internal.h
-
-/* Bitmap to mark OpenMP 5.1 target events as registered*/
-typedef struct ompt_target_callbacks_active_s {
- unsigned int enabled : 1;
-#define ompt_event_macro(event, callback, eventid) unsigned int event : 1;
-
- FOREACH_OMPT_51_TARGET_EVENT(ompt_event_macro)
-
-#undef ompt_event_macro
-} ompt_target_callbacks_active_t;
-
-extern ompt_target_callbacks_active_t ompt_target_enabled;
-
-_OMP_EXTERN OMPT_WEAK_ATTRIBUTE bool
-libomp_start_tool(ompt_target_callbacks_active_t *libomptarget_ompt_enabled);
-
-#endif // LIBOMPTARGET_OMPT_TARGET_H
diff --git a/openmp/libomptarget/src/rtl.cpp b/openmp/libomptarget/src/rtl.cpp
index 0ad512458e4ed..e0d0e8122668f 100644
--- a/openmp/libomptarget/src/rtl.cpp
+++ b/openmp/libomptarget/src/rtl.cpp
@@ -14,10 +14,6 @@
#include "device.h"
#include "private.h"
-#if OMPT_SUPPORT
-#include "ompt-target.h"
-#endif
-
#include <cassert>
#include <cstdlib>
#include <cstring>
@@ -193,19 +189,6 @@ void RTLsTy::LoadRTLs() {
dlsym(dynlib_handle, "__tgt_rtl_destroy_event");
}
-#if OMPT_SUPPORT
- DP("OMPT_SUPPORT is enabled in libomptarget\n");
- DP("Init OMPT for libomptarget\n");
- if (libomp_start_tool) {
- DP("Retrieve libomp_start_tool successfully\n");
- if (!libomp_start_tool(&ompt_target_enabled)) {
- DP("Turn off OMPT in libomptarget because libomp_start_tool returns "
- "false\n");
- memset(&ompt_target_enabled, 0, sizeof(ompt_target_enabled));
- }
- }
-#endif
-
DP("RTLs loaded!\n");
return;
diff --git a/openmp/runtime/cmake/config-ix.cmake b/openmp/runtime/cmake/config-ix.cmake
index c5343ed3c62d5..0fe1266b0067b 100644
--- a/openmp/runtime/cmake/config-ix.cmake
+++ b/openmp/runtime/cmake/config-ix.cmake
@@ -329,7 +329,6 @@ else()
set(LIBOMP_HAVE_OMPT_SUPPORT FALSE)
endif()
endif()
-set(LIBOMP_HAVE_OMPT_SUPPORT ${LIBOMP_HAVE_OMPT_SUPPORT} PARENT_SCOPE)
# Check if HWLOC support is available
if(${LIBOMP_USE_HWLOC})
diff --git a/openmp/runtime/src/exports_so.txt b/openmp/runtime/src/exports_so.txt
index e891b32740598..ac188af31055b 100644
--- a/openmp/runtime/src/exports_so.txt
+++ b/openmp/runtime/src/exports_so.txt
@@ -25,9 +25,7 @@ VERSION {
#
# OMPT API
#
- ompt_start_tool; # OMPT start interface
- libomp_start_tool; # OMPT start interface for libomptarget
- libomp_ompt_*; # OMPT callback functions
+ ompt_start_tool; # OMPT start interface
ompc_*; # omp.h renames some standard functions to ompc_*.
kmp_*; # Intel extensions.
diff --git a/openmp/runtime/src/include/omp-tools.h.var b/openmp/runtime/src/include/omp-tools.h.var
index 5d7da6b04f19e..5092174d66eff 100644
--- a/openmp/runtime/src/include/omp-tools.h.var
+++ b/openmp/runtime/src/include/omp-tools.h.var
@@ -108,7 +108,7 @@
macro (kmp_mutex_impl_queuing, 2) /* based on some fair policy */ \
macro (kmp_mutex_impl_speculative, 3) /* based on HW-supported speculation */
-#define FOREACH_OMPT_HOST_EVENT(macro) \
+#define FOREACH_OMPT_EVENT(macro) \
\
/*--- Mandatory Events ---*/ \
macro (ompt_callback_thread_begin, ompt_callback_thread_begin_t, 1) /* thread begin */ \
@@ -121,9 +121,17 @@
macro (ompt_callback_task_schedule, ompt_callback_task_schedule_t, 6) /* task schedule */ \
macro (ompt_callback_implicit_task, ompt_callback_implicit_task_t, 7) /* implicit task */ \
\
+ macro (ompt_callback_target, ompt_callback_target_t, 8) /* target */ \
+ macro (ompt_callback_target_data_op, ompt_callback_target_data_op_t, 9) /* target data op */ \
+ macro (ompt_callback_target_submit, ompt_callback_target_submit_t, 10) /* target submit */ \
\
macro (ompt_callback_control_tool, ompt_callback_control_tool_t, 11) /* control tool */ \
\
+ macro (ompt_callback_device_initialize, ompt_callback_device_initialize_t, 12) /* device initialize */ \
+ macro (ompt_callback_device_finalize, ompt_callback_device_finalize_t, 13) /* device finalize */ \
+ \
+ macro (ompt_callback_device_load, ompt_callback_device_load_t, 14) /* device load */ \
+ macro (ompt_callback_device_unload, ompt_callback_device_unload_t, 15) /* device unload */ \
\
/* Optional Events */ \
macro (ompt_callback_sync_region_wait, ompt_callback_sync_region_t, 16) /* sync region wait begin or end */ \
@@ -137,6 +145,7 @@
\
macro (ompt_callback_masked, ompt_callback_masked_t, 21) /* task at masked begin or end */ \
\
+ macro (ompt_callback_target_map, ompt_callback_target_map_t, 22) /* target map */ \
\
macro (ompt_callback_sync_region, ompt_callback_sync_region_t, 23) /* sync region begin or end */ \
\
@@ -155,48 +164,11 @@
macro (ompt_callback_reduction, ompt_callback_sync_region_t, 31) /* reduction */ \
\
macro (ompt_callback_dispatch, ompt_callback_dispatch_t, 32) /* dispatch of work */ \
- macro (ompt_callback_error, ompt_callback_error_t, 37) /* error */
-
-
-#define FOREACH_OMPT_DEVICE_EVENT(macro) \
- macro (ompt_callback_device_initialize, ompt_callback_device_initialize_t, 12) /* device initialize */ \
- macro (ompt_callback_device_finalize, ompt_callback_device_finalize_t, 13) /* device finalize */ \
- \
- macro (ompt_callback_device_load, ompt_callback_device_load_t, 14) /* device load */ \
- macro (ompt_callback_device_unload, ompt_callback_device_unload_t, 15) /* device unload */ \
-
-
-#define FOREACH_OMPT_NOEMI_EVENT(macro) \
- macro (ompt_callback_target, ompt_callback_target_t, 8) /* target */ \
- macro (ompt_callback_target_data_op, ompt_callback_target_data_op_t, 9) /* target data op */ \
- macro (ompt_callback_target_submit, ompt_callback_target_submit_t, 10) /* target submit */ \
- macro (ompt_callback_target_map, ompt_callback_target_map_t, 22) /* target map */ \
-
-
-#define FOREACH_OMPT_EMI_EVENT(macro) \
macro (ompt_callback_target_emi, ompt_callback_target_emi_t, 33) /* target */ \
macro (ompt_callback_target_data_op_emi,ompt_callback_target_data_op_emi_t,34) /* target data op */ \
macro (ompt_callback_target_submit_emi, ompt_callback_target_submit_emi_t, 35) /* target submit */ \
macro (ompt_callback_target_map_emi, ompt_callback_target_map_emi_t, 36) /* target map */ \
-
-#define FOREACH_OMPT_50_TARGET_EVENT(macro) \
- FOREACH_OMPT_DEVICE_EVENT(macro) \
- FOREACH_OMPT_NOEMI_EVENT(macro)
-
-#define FOREACH_OMPT_51_TARGET_EVENT(macro) \
- FOREACH_OMPT_DEVICE_EVENT(macro) \
- FOREACH_OMPT_EMI_EVENT(macro)
-
-#define FOREACH_OMPT_EVENT(macro) \
- FOREACH_OMPT_HOST_EVENT(macro) \
- FOREACH_OMPT_DEVICE_EVENT(macro) \
- FOREACH_OMPT_NOEMI_EVENT(macro) \
- FOREACH_OMPT_EMI_EVENT(macro)
-
-#define FOREACH_OMPT_51_EVENT(macro) \
- FOREACH_OMPT_HOST_EVENT(macro) \
- FOREACH_OMPT_DEVICE_EVENT(macro) \
- FOREACH_OMPT_EMI_EVENT(macro)
+ macro (ompt_callback_error, ompt_callback_error_t, 37) /* error */
/*****************************************************************************
* implementation specific types
diff --git a/openmp/runtime/src/ompt-event-specific.h b/openmp/runtime/src/ompt-event-specific.h
index aa92492219313..875d6921b7b70 100644
--- a/openmp/runtime/src/ompt-event-specific.h
+++ b/openmp/runtime/src/ompt-event-specific.h
@@ -86,8 +86,8 @@
#define ompt_callback_masked_implemented ompt_event_MAY_ALWAYS_OPTIONAL
-#define ompt_callback_target_map_implemented ompt_event_MAY_ALWAYS_OPTIONAL
-#define ompt_callback_target_map_emi_implemented ompt_event_MAY_ALWAYS_OPTIONAL
+#define ompt_callback_target_map_implemented ompt_event_UNIMPLEMENTED
+#define ompt_callback_target_map_emi_implemented ompt_event_UNIMPLEMENTED
#define ompt_callback_sync_region_implemented ompt_event_MAY_ALWAYS_OPTIONAL
diff --git a/openmp/runtime/src/ompt-general.cpp b/openmp/runtime/src/ompt-general.cpp
index c4a9be8753b76..c1468c0c322ef 100644
--- a/openmp/runtime/src/ompt-general.cpp
+++ b/openmp/runtime/src/ompt-general.cpp
@@ -86,8 +86,6 @@ enum tool_setting_e {
ompt_callbacks_active_t ompt_enabled;
-ompt_target_callbacks_active_t ompt_target_enabled;
-
ompt_state_info_t ompt_state_info[] = {
#define ompt_state_macro(state, code) {#state, state},
FOREACH_OMPT_STATE(ompt_state_macro)
@@ -102,10 +100,6 @@ kmp_mutex_impl_info_t kmp_mutex_impl_info[] = {
ompt_callbacks_internal_t ompt_callbacks;
-ompt_target_callbacks_internal_t ompt_target_callbacks;
-
-ompt_callbacks_internal_noemi_t ompt_callbacks_noemi;
-
static ompt_start_tool_result_t *ompt_start_tool_result = NULL;
#if KMP_OS_WINDOWS
@@ -131,51 +125,6 @@ OMPT_API_ROUTINE ompt_data_t *ompt_get_thread_data(void);
typedef ompt_start_tool_result_t *(*ompt_start_tool_t)(unsigned int,
const char *);
-_OMP_EXTERN OMPT_WEAK_ATTRIBUTE bool
-libomp_start_tool(ompt_target_callbacks_active_t *libomptarget_ompt_enabled) {
- if (!TCR_4(__kmp_init_middle)) {
- __kmp_middle_initialize();
- }
- bool ret = false;
- libomptarget_ompt_enabled->enabled = ompt_enabled.enabled;
- if (ompt_enabled.enabled) {
- ret = true;
-#define ompt_event_macro(event_name, callback_type, event_id) \
- libomptarget_ompt_enabled->event_name = ompt_target_enabled.event_name;
-
- FOREACH_OMPT_51_TARGET_EVENT(ompt_event_macro)
-#undef ompt_event_macro
- }
- return ret;
-}
-
-void ompt_callback_target_data_op_emi_wrapper(
- ompt_scope_endpoint_t endpoint, ompt_data_t *target_task_data,
- ompt_data_t *target_data, ompt_id_t *host_op_id,
- ompt_target_data_op_t optype, void *src_addr, int src_device_num,
- void *dest_addr, int dest_device_num, size_t bytes,
- const void *codeptr_ra) {}
-
-void ompt_callback_target_emi_wrapper(ompt_target_t kind,
- ompt_scope_endpoint_t endpoint,
- int device_num, ompt_data_t *task_data,
- ompt_data_t *target_task_data,
- ompt_data_t *target_data,
- const void *codeptr_ra) {}
-
-void ompt_callback_target_map_emi_wrapper(ompt_data_t *target_data,
- unsigned int nitems, void **host_addr,
- void **device_addr, size_t *bytes,
- unsigned int *mapping_flags,
- const void *codeptr_ra) {}
-
-void ompt_callback_target_submit_emi_wrapper(ompt_scope_endpoint_t endpoint,
- ompt_data_t *target_data,
- ompt_id_t *host_op_id,
- unsigned int requested_num_teams) {
-
-}
-
#if KMP_OS_DARWIN
// While Darwin supports weak symbols, the library that wishes to provide a new
@@ -629,37 +578,7 @@ OMPT_API_ROUTINE ompt_set_result_t ompt_set_callback(ompt_callbacks_t which,
else \
return ompt_set_always;
- FOREACH_OMPT_HOST_EVENT(ompt_event_macro)
-
-#undef ompt_event_macro
-
-#define ompt_event_macro(event_name, callback_type, event_id) \
- case event_name: \
- ompt_target_callbacks.ompt_callback(event_name) = (callback_type)callback; \
- ompt_target_enabled.event_name = (callback != 0); \
- if (callback) \
- return ompt_event_implementation_status(event_name); \
- else \
- return ompt_set_always;
-
- FOREACH_OMPT_51_TARGET_EVENT(ompt_event_macro)
-
-#undef ompt_event_macro
-
-#define ompt_event_macro(event_name, callback_type, event_id) \
- case event_name: \
- ompt_callbacks_noemi.ompt_callback(event_name) = (callback_type)callback; \
- ompt_target_enabled.ompt_emi_event(event_name) = (callback != 0); \
- if (callback) { \
- ompt_target_callbacks.ompt_emi_callback(event_name) = \
- (ompt_emi_callback_type(event_name))(&ompt_emi_wrapper(event_name)); \
- return ompt_event_implementation_status(event_name); \
- } else { \
- ompt_target_callbacks.ompt_emi_callback(event_name) = NULL; \
- return ompt_set_always; \
- }
-
- FOREACH_OMPT_NOEMI_EVENT(ompt_event_macro)
+ FOREACH_OMPT_EVENT(ompt_event_macro)
#undef ompt_event_macro
@@ -686,56 +605,7 @@ OMPT_API_ROUTINE int ompt_get_callback(ompt_callbacks_t which,
return ompt_get_callback_failure; \
}
- FOREACH_OMPT_HOST_EVENT(ompt_event_macro)
-
-#undef ompt_event_macro
-
-#define ompt_event_macro(event_name, callback_type, event_id) \
- case event_name: { \
- ompt_callback_t mycb = \
- (ompt_callback_t)ompt_target_callbacks.ompt_callback(event_name); \
- if (ompt_target_enabled.event_name && mycb) { \
- *callback = mycb; \
- return ompt_get_callback_success; \
- } \
- return ompt_get_callback_failure; \
- }
-
- FOREACH_OMPT_DEVICE_EVENT(ompt_event_macro)
-
-#undef ompt_event_macro
-
-#define ompt_event_macro(event_name, callback_type, event_id) \
- case ompt_emi_event(event_name): { \
- ompt_callback_t mycb = \
- (ompt_callback_t)ompt_target_callbacks.ompt_emi_callback(event_name); \
- if (ompt_target_enabled.ompt_emi_event(event_name) && \
- mycb != (ompt_callback_t)(&ompt_emi_wrapper(event_name))) { \
- *callback = mycb; \
- return ompt_get_callback_success; \
- } \
- return ompt_get_callback_failure; \
- }
-
- FOREACH_OMPT_NOEMI_EVENT(ompt_event_macro)
-
-#undef ompt_event_macro
-
-#define ompt_event_macro(event_name, callback_type, event_id) \
- case event_name: { \
- ompt_callback_t mycb = \
- (ompt_callback_t)ompt_callbacks_noemi.ompt_callback(event_name); \
- ompt_callback_t wrapper = \
- (ompt_callback_t)ompt_target_callbacks.ompt_emi_callback(event_name); \
- if (ompt_target_enabled.ompt_emi_event(event_name) && \
- wrapper == (ompt_callback_t)(&ompt_emi_wrapper(event_name))) { \
- *callback = mycb; \
- return ompt_get_callback_success; \
- } \
- return ompt_get_callback_failure; \
- }
-
- FOREACH_OMPT_NOEMI_EVENT(ompt_event_macro)
+ FOREACH_OMPT_EVENT(ompt_event_macro)
#undef ompt_event_macro
diff --git a/openmp/runtime/src/ompt-internal.h b/openmp/runtime/src/ompt-internal.h
index 3bb98f90c87d6..6665bb5e83eb7 100644
--- a/openmp/runtime/src/ompt-internal.h
+++ b/openmp/runtime/src/ompt-internal.h
@@ -26,64 +26,24 @@
#define ompt_callback(e) e##_callback
-#define ompt_emi_callback(e) e##_emi_callback
-
-#define ompt_emi_callback_type(e) e##_emi_t
-
-#define ompt_emi_wrapper(e) e##_emi_wrapper
-
-#define ompt_emi_event(e) e##_emi
-
-/* Struct to collect host callback pointers */
typedef struct ompt_callbacks_internal_s {
#define ompt_event_macro(event, callback, eventid) \
callback ompt_callback(event);
- FOREACH_OMPT_HOST_EVENT(ompt_event_macro)
+ FOREACH_OMPT_EVENT(ompt_event_macro)
#undef ompt_event_macro
} ompt_callbacks_internal_t;
-/* Struct to collect target callback pointers */
-typedef struct ompt_target_callbacks_internal_s {
-#define ompt_event_macro(event, callback, eventid) \
- callback ompt_callback(event);
-
- FOREACH_OMPT_51_TARGET_EVENT(ompt_event_macro)
-
-#undef ompt_event_macro
-} ompt_target_callbacks_internal_t;
-
-/* Struct to collect noemi callback pointers */
-typedef struct ompt_callbacks_internal_noemi_s {
-#define ompt_event_macro(event, callback, eventid) \
- callback ompt_callback(event);
-
- FOREACH_OMPT_NOEMI_EVENT(ompt_event_macro)
-
-#undef ompt_event_macro
-} ompt_callbacks_internal_noemi_t;
-
-/* Bitmap to mark OpenMP 5.1 host events as registered*/
typedef struct ompt_callbacks_active_s {
unsigned int enabled : 1;
#define ompt_event_macro(event, callback, eventid) unsigned int event : 1;
- FOREACH_OMPT_HOST_EVENT(ompt_event_macro)
+ FOREACH_OMPT_EVENT(ompt_event_macro)
#undef ompt_event_macro
} ompt_callbacks_active_t;
-/* Bitmap to mark OpenMP 5.1 target events as registered*/
-typedef struct ompt_target_callbacks_active_s {
- unsigned int enabled : 1;
-#define ompt_event_macro(event, callback, eventid) unsigned int event : 1;
-
- FOREACH_OMPT_51_TARGET_EVENT(ompt_event_macro)
-
-#undef ompt_event_macro
-} ompt_target_callbacks_active_t;
-
#define TASK_TYPE_DETAILS_FORMAT(info) \
((info->td_flags.task_serial || info->td_flags.tasking_ser) \
? ompt_task_undeferred \
@@ -124,8 +84,6 @@ typedef struct {
} ompt_thread_info_t;
extern ompt_callbacks_internal_t ompt_callbacks;
-extern ompt_target_callbacks_internal_t ompt_target_callbacks;
-extern ompt_callbacks_internal_noemi_t ompt_callbacks_noemi;
#if OMPT_SUPPORT && OMPT_OPTIONAL
#if USE_FAST_MEMORY
@@ -151,7 +109,6 @@ void ompt_fini(void);
int __kmp_control_tool(uint64_t command, uint64_t modifier, void *arg);
extern ompt_callbacks_active_t ompt_enabled;
-extern ompt_target_callbacks_active_t ompt_target_enabled;
#if KMP_OS_WINDOWS
#define UNLIKELY(x) (x)
More information about the Openmp-commits
mailing list