From 43f0a14005f2fe3debb6af1da501249eb41ba591 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 --- hipamd/hipify-clang/src/CUDA2HipMap.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/hipamd/hipify-clang/src/CUDA2HipMap.cpp b/hipamd/hipify-clang/src/CUDA2HipMap.cpp index 8e76b5fdde..0413d76022 100644 --- a/hipamd/hipify-clang/src/CUDA2HipMap.cpp +++ b/hipamd/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