[Openmp-commits] [PATCH] D95397: [OpenMP][deviceRTLs] Remove omp_is_initial_device
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jan 25 15:34:33 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3333244d77c4: [OpenMP][deviceRTLs] Remove omp_is_initial_device (authored by tianshilei1992).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95397/new/
https://reviews.llvm.org/D95397
Files:
openmp/libomptarget/deviceRTLs/common/src/libcall.cu
openmp/libomptarget/deviceRTLs/interface.h
Index: openmp/libomptarget/deviceRTLs/interface.h
===================================================================
--- openmp/libomptarget/deviceRTLs/interface.h
+++ openmp/libomptarget/deviceRTLs/interface.h
@@ -89,7 +89,6 @@
EXTERN int omp_get_num_devices(void);
EXTERN int omp_get_num_teams(void);
EXTERN int omp_get_team_num(void);
-EXTERN int omp_is_initial_device(void);
EXTERN int omp_get_initial_device(void);
EXTERN int omp_get_max_task_priority(void);
Index: openmp/libomptarget/deviceRTLs/common/src/libcall.cu
===================================================================
--- openmp/libomptarget/deviceRTLs/common/src/libcall.cu
+++ openmp/libomptarget/deviceRTLs/common/src/libcall.cu
@@ -316,11 +316,6 @@
return rc;
}
-EXTERN int omp_is_initial_device(void) {
- PRINT0(LD_IO, "call omp_is_initial_device() returns 0\n");
- return 0; // 0 by def on device
-}
-
// Unspecified on the device.
EXTERN int omp_get_initial_device(void) {
PRINT0(LD_IO, "call omp_get_initial_device() returns 0\n");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95397.319145.patch
Type: text/x-patch
Size: 1035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210125/063b9ab5/attachment-0001.bin>
More information about the Openmp-commits
mailing list