From af07df0b8548c1da9e733dcb03a25e0a5509d3a2 Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Tue, 5 Dec 2017 19:46:53 +0300 Subject: [PATCH] [HIPIFY] remove duplicates from CUDA_IDENTIFIER_MAP [ROCm/hip commit: f24dfc6f36a3fd22954b3fe444a49dc075471c58] --- projects/hip/hipify-clang/src/CUDA2HipMap.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/projects/hip/hipify-clang/src/CUDA2HipMap.cpp b/projects/hip/hipify-clang/src/CUDA2HipMap.cpp index 8e76b5fdde..0413d76022 100644 --- a/projects/hip/hipify-clang/src/CUDA2HipMap.cpp +++ b/projects/hip/hipify-clang/src/CUDA2HipMap.cpp @@ -1478,18 +1478,6 @@ const std::map CUDA_IDENTIFIER_MAP{ {"gridDim.y", {"hipGridDim_y", CONV_COORD_FUNC, API_RUNTIME}}, {"gridDim.z", {"hipGridDim_z", CONV_COORD_FUNC, API_RUNTIME}}, - {"blockIdx.x", {"hipBlockIdx_x", CONV_COORD_FUNC, API_RUNTIME}}, - {"blockIdx.y", {"hipBlockIdx_y", CONV_COORD_FUNC, API_RUNTIME}}, - {"blockIdx.z", {"hipBlockIdx_z", CONV_COORD_FUNC, API_RUNTIME}}, - - {"blockDim.x", {"hipBlockDim_x", CONV_COORD_FUNC, API_RUNTIME}}, - {"blockDim.y", {"hipBlockDim_y", CONV_COORD_FUNC, API_RUNTIME}}, - {"blockDim.z", {"hipBlockDim_z", CONV_COORD_FUNC, API_RUNTIME}}, - - {"gridDim.x", {"hipGridDim_x", CONV_COORD_FUNC, API_RUNTIME}}, - {"gridDim.y", {"hipGridDim_y", CONV_COORD_FUNC, API_RUNTIME}}, - {"gridDim.z", {"hipGridDim_z", CONV_COORD_FUNC, API_RUNTIME}}, - {"warpSize", {"hipWarpSize", CONV_SPECIAL_FUNC, API_RUNTIME}}, // Events