summaryrefslogtreecommitdiff
path: root/offload/include
diff options
context:
space:
mode:
authorRobert Imschweiler <robert.imschweiler@amd.com>2025-11-18 16:10:42 +0100
committerGitHub <noreply@github.com>2025-11-18 15:10:42 +0000
commit9a0fd22da1013281d6269f19facc5d5c1be58904 (patch)
treea72bd049188a1db3104d5a6ce71eaf5061242343 /offload/include
parent75792d60778b34f20cd350d717baeb4ec6fadbcf (diff)
Revert "[OpenMP] Implement omp_get_uid_from_device() / omp_get_device_from_uid()" (#168547)
Reverts llvm/llvm-project#164392 due to fortran issues
Diffstat (limited to 'offload/include')
-rw-r--r--offload/include/OpenMP/omp.h7
-rw-r--r--offload/include/omptarget.h2
2 files changed, 0 insertions, 9 deletions
diff --git a/offload/include/OpenMP/omp.h b/offload/include/OpenMP/omp.h
index d92c7e450c67..768ca46a9bed 100644
--- a/offload/include/OpenMP/omp.h
+++ b/offload/include/OpenMP/omp.h
@@ -30,13 +30,6 @@
extern "C" {
-/// Definitions
-///{
-
-#define omp_invalid_device -2
-
-///}
-
/// Type declarations
///{
diff --git a/offload/include/omptarget.h b/offload/include/omptarget.h
index 00910704a979..fbb4a06accf8 100644
--- a/offload/include/omptarget.h
+++ b/offload/include/omptarget.h
@@ -270,8 +270,6 @@ extern "C" {
void ompx_dump_mapping_tables(void);
int omp_get_num_devices(void);
int omp_get_device_num(void);
-int omp_get_device_from_uid(const char *DeviceUid);
-const char *omp_get_uid_from_device(int DeviceNum);
int omp_get_initial_device(void);
void *omp_target_alloc(size_t Size, int DeviceNum);
void omp_target_free(void *DevicePtr, int DeviceNum);