Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a6fe9b47 authored by Thierry's avatar Thierry
Browse files

Update

parent c6aeb5f0
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
#include "kaapi_trace_lib.h" #include "kaapi_trace_lib.h"
#include "kaapi_error.h" #include "kaapi_error.h"
#define LOG 1 #define LOG 0
std::atomic<uint64_t> unique_thread_id(1); std::atomic<uint64_t> unique_thread_id(1);
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#include <omp-tools.h> #include <omp-tools.h>
#include "kaapi_trace_lib.h" #include "kaapi_trace_lib.h"
#include "AvailabilityMacros.h"
#define CALLBACK(name, ...)\ #define CALLBACK(name, ...)\
void name##_action(__VA_ARGS__); void name##_action(__VA_ARGS__);
#include "ompt_callbacks.def" #include "ompt_callbacks.def"
...@@ -29,7 +27,7 @@ extern "C" { ...@@ -29,7 +27,7 @@ extern "C" {
extern void tikki_ompt_set_task_name(const char* name ); extern void tikki_ompt_set_task_name(const char* name );
extern void tikki_ompt_set_task_data(int count, void** data, size_t* size, int* mode ); extern void tikki_ompt_set_task_data(int count, void** data, size_t* size, int* mode );
extern void ompt_set_task_name(const char* name ) __attribute__((weak_import)); extern void ompt_set_task_name(const char* name );// __attribute__((weak));
void __tikki_ompt_set_task_name(const char* name ) void __tikki_ompt_set_task_name(const char* name )
{ tikki_ompt_set_task_name(name); } { tikki_ompt_set_task_name(name); }
...@@ -38,7 +36,7 @@ void __tikki_ompt_set_task_data(int count, void** data, size_t* size, int* mode ...@@ -38,7 +36,7 @@ void __tikki_ompt_set_task_data(int count, void** data, size_t* size, int* mode
/* Exported function as extension to be called by application /* Exported function as extension to be called by application
*/ */
void ompt_set_task_name(const char* name ) __attribute__((weak_import)) void ompt_set_task_name(const char* name ) //__attribute__((weak))
{ {
tikki_ompt_set_task_name(name); tikki_ompt_set_task_name(name);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment