diff options
-rw-r--r-- | openmp/libomptarget/include/omptarget.h | 4 | ||||
-rw-r--r-- | openmp/libomptarget/src/private.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/openmp/libomptarget/include/omptarget.h b/openmp/libomptarget/include/omptarget.h index 4b875671926..7135257c4d6 100644 --- a/openmp/libomptarget/include/omptarget.h +++ b/openmp/libomptarget/include/omptarget.h @@ -99,10 +99,6 @@ struct __tgt_target_table { extern "C" { #endif -// Implemented in libomp, they are called from within __tgt_* functions. -int omp_get_default_device(void) __attribute__((weak)); -int32_t __kmpc_omp_taskwait(void *loc_ref, int32_t gtid) __attribute__((weak)); - int omp_get_num_devices(void); int omp_get_initial_device(void); void *omp_target_alloc(size_t size, int device_num); diff --git a/openmp/libomptarget/src/private.h b/openmp/libomptarget/src/private.h index 8150f742157..8aa78d050d4 100644 --- a/openmp/libomptarget/src/private.h +++ b/openmp/libomptarget/src/private.h @@ -33,6 +33,10 @@ extern int target(int64_t device_id, void *host_ptr, int32_t arg_num, extern int CheckDeviceAndCtors(int64_t device_id); +// Implemented in libomp, they are called from within __tgt_* functions. +int omp_get_default_device(void) __attribute__((weak)); +int32_t __kmpc_omp_taskwait(void *loc_ref, int32_t gtid) __attribute__((weak)); + #ifdef OMPTARGET_DEBUG extern int DebugLevel; |