aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/kmp.h
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2018-11-29 23:56:14 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2018-11-29 23:56:14 +0000
commit591fa693cc40c5b02780c71bcfed7f4dd5e4ca51 (patch)
tree6ea7324a1c11ec7ffac4297f17f271d6a2c950af /runtime/src/kmp.h
parent4bf5fcd9d152408c471b9644c653b8be3e7001e2 (diff)
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
Diffstat (limited to 'runtime/src/kmp.h')
-rw-r--r--runtime/src/kmp.h7
1 files changed, 0 insertions, 7 deletions
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