Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #129 from tomsang/remove_hcc
Browse files Browse the repository at this point in the history
SWDEV-415029 - Remove hcc symbols
  • Loading branch information
kzhuravl authored Aug 14, 2023
2 parents fea96fc + 4d00cce commit 59c9c66
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bin/hipconfig.pl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ BEGIN
$HIP_CLANG_INCLUDE = `$HIP_CLANG_PATH/clang++ --print-resource-dir`;
}

$CPP_CONFIG = " -D__HIP_PLATFORM_HCC__= -D__HIP_PLATFORM_AMD__=";
$CPP_CONFIG = " -D__HIP_PLATFORM_AMD__=";

$HIP_PATH_INCLUDE = $HIP_PATH."/include";
if($isWindows) {
Expand All @@ -81,7 +81,7 @@ BEGIN
}
}
if ($HIP_PLATFORM eq "nvidia") {
$CPP_CONFIG = " -D__HIP_PLATFORM_NVCC__= -D__HIP_PLATFORM_NVIDIA__= -I$HIP_PATH/include -I$CUDA_PATH/include";
$CPP_CONFIG = " -D__HIP_PLATFORM_NVIDIA__= -I$HIP_PATH/include -I$CUDA_PATH/include";
};

if ($p_help) {
Expand Down
2 changes: 1 addition & 1 deletion src/hipBin_amd.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ const PlatformInfo& HipBinAmd::getPlatformInfo() const {


string HipBinAmd::getCppConfig() {
string cppConfig = " -D__HIP_PLATFORM_HCC__= -D__HIP_PLATFORM_AMD__=";
string cppConfig = " -D__HIP_PLATFORM_AMD__=";

string compilerVersion;
compilerVersion = getCompilerVersion();
Expand Down
2 changes: 1 addition & 1 deletion src/hipBin_nvidia.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ const PlatformInfo& HipBinNvidia::getPlatformInfo() const {
// returns the cpp config
string HipBinNvidia::getCppConfig() {
string cppConfig =
" - D__HIP_PLATFORM_NVCC__ = -D__HIP_PLATFORM_NVIDIA__ = -I";
" -D__HIP_PLATFORM_NVIDIA__= -I";
string hipPath;
hipPath = getHipPath();
cppConfig += hipPath;
Expand Down

0 comments on commit 59c9c66

Please sign in to comment.