From 591fa693cc40c5b02780c71bcfed7f4dd5e4ca51 Mon Sep 17 00:00:00 2001 From: Jonathan Peyton Date: Thu, 29 Nov 2018 23:56:14 +0000 Subject: Revert r347799: Add omp_get_device_num() and update other device API There is a conflict between libomptarget and libomp concerning some of the standard OpenMP device API which needs further intestigation. git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@347932 91177308-0d34-0410-b5e6-96231b3b80d8 --- runtime/src/kmp.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'runtime/src/kmp.h') diff --git a/runtime/src/kmp.h b/runtime/src/kmp.h index 91db8d4..584ed1f 100644 --- a/runtime/src/kmp.h +++ b/runtime/src/kmp.h @@ -3958,13 +3958,6 @@ extern kmp_target_offload_kind_t __kmp_target_offload; extern int __kmpc_get_target_offload(); #endif -#if OMP_40_ENABLED -// Constants used in libomptarget -#define KMP_DEVICE_DEFAULT -1 // This is libomptarget's default device. -#define KMP_HOST_DEVICE -10 // This is what it is in libomptarget, go figure. -#define KMP_DEVICE_ALL -11 // This is libomptarget's "all devices". -#endif // OMP_40_ENABLED - #ifdef __cplusplus } #endif -- cgit v1.2.3