/* * omp-debug.h * * Created on: Jan 14, 2015 * Author: Ignacio Laguna * Joachim Protze * Contact: [email protected] * [email protected] */ //===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef SRC_OMP_DEBUG_H_ #define SRC_OMP_DEBUG_H_ #define OMPD_VERSION … #ifdef __cplusplus #include <cstdlib> extern "C" { #endif #define OMPD_IMPLEMENTS_OPENMP … #define OMPD_IMPLEMENTS_OPENMP_SUBVERSION … #define OMPD_TR_VERSION … #define OMPD_TR_SUBVERSION … #define OMPD_DLL_VERSION … #define STR_HELPER(x) … #define STR(x) … #include "omp-tools.h" #include "ompd-types.h" #ifdef __cplusplus } #endif /****************************************************************************** * General helper functions ******************************************************************************/ ompd_rc_t initTypeSizes(ompd_address_space_context_t *context); // NOLINTNEXTLINE "Used in below Macro:OMPD_CALLBACK." static const ompd_callbacks_t *callbacks = …; // Invoke callback function and return if it fails #define OMPD_CALLBACK(fn, ...) … // Read the memory contents located at the given symbol #define OMPD_GET_VALUE(context, th_context, name, size, buf) … ompd_address_space_context_t; ompd_address_space_handle_t; ompd_thread_handle_t; ompd_parallel_handle_t; ompd_task_handle_t; void __ompd_init_icvs(const ompd_callbacks_t *table); void __ompd_init_states(const ompd_callbacks_t *table); #endif /* SRC_OMP_DEBUG_H_ */