summaryrefslogtreecommitdiffstats
path: root/openmp/libomptarget/deviceRTLs/common/src/support.cu
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/libomptarget/deviceRTLs/common/src/support.cu')
-rw-r--r--openmp/libomptarget/deviceRTLs/common/src/support.cu8
1 files changed, 0 insertions, 8 deletions
diff --git a/openmp/libomptarget/deviceRTLs/common/src/support.cu b/openmp/libomptarget/deviceRTLs/common/src/support.cu
index 2f992f2778e..ea1fc3841ad 100644
--- a/openmp/libomptarget/deviceRTLs/common/src/support.cu
+++ b/openmp/libomptarget/deviceRTLs/common/src/support.cu
@@ -98,14 +98,6 @@ DEVICE bool checkRuntimeInitialized(kmp_Ident *loc) {
//
////////////////////////////////////////////////////////////////////////////////
-DEVICE int GetThreadIdInBlock() { return threadIdx.x; }
-
-DEVICE int GetBlockIdInKernel() { return blockIdx.x; }
-
-DEVICE int GetNumberOfBlocksInKernel() { return gridDim.x; }
-
-DEVICE int GetNumberOfThreadsInBlock() { return blockDim.x; }
-
DEVICE unsigned GetWarpId() { return GetThreadIdInBlock() / WARPSIZE; }
DEVICE unsigned GetLaneId() { return GetThreadIdInBlock() & (WARPSIZE - 1); }
OpenPOWER on IntegriCloud