From 48e7403762abb0fa706fe0e8fd4f2572a13526fc Mon Sep 17 00:00:00 2001 From: Chris Kitching Date: Mon, 23 Oct 2017 17:06:24 +0100 Subject: [PATCH] Remove CUDA_EXCLUDES An artefact from a now-defunct hack to avoid corrupting programs [ROCm/hip commit: c6707ef33c8978158832e80677fc0b34d1e82d7a] --- projects/hip/hipify-clang/src/CUDA2HipMap.cpp | 2 -- projects/hip/hipify-clang/src/CUDA2HipMap.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/projects/hip/hipify-clang/src/CUDA2HipMap.cpp b/projects/hip/hipify-clang/src/CUDA2HipMap.cpp index fb7e920f8c..de6ddb2d74 100644 --- a/projects/hip/hipify-clang/src/CUDA2HipMap.cpp +++ b/projects/hip/hipify-clang/src/CUDA2HipMap.cpp @@ -1,7 +1,5 @@ #include "CUDA2HipMap.h" -const std::set CUDA_EXCLUDES{"CHECK_CUDA_ERROR", "CUDA_SAFE_CALL"}; - /// Maps the names of CUDA types to the corresponding hip types. const std::map CUDA_TYPE_NAME_MAP{ // Error codes and return types diff --git a/projects/hip/hipify-clang/src/CUDA2HipMap.h b/projects/hip/hipify-clang/src/CUDA2HipMap.h index bd172d6eb5..ecef9ce2b5 100644 --- a/projects/hip/hipify-clang/src/CUDA2HipMap.h +++ b/projects/hip/hipify-clang/src/CUDA2HipMap.h @@ -16,9 +16,6 @@ struct hipCounter { #define HIP_UNSUPPORTED true -/// Macros to ignore. -extern const std::set CUDA_EXCLUDES; - /// Maps cuda header names to hip header names. extern const std::map CUDA_INCLUDE_MAP;