SWDEV-280672 - Support HIP_PLATFORM=hcc in hipcc with warning
Change-Id: I6b199ea5ebed828a7f82c20d50fdf0fcfb887a64
This commit is contained in:
@@ -125,6 +125,14 @@ if (not defined $HIP_PLATFORM) {
|
||||
# Default to amd for now
|
||||
$HIP_PLATFORM = "amd";
|
||||
}
|
||||
} elsif ($HIP_PLATFORM eq "hcc") {
|
||||
$HIP_PLATFORM = "amd";
|
||||
warn("Warning: HIP_PLATFORM=hcc is deprecated. Please use HIP_PLATFORM=amd. \n")
|
||||
} elsif ($HIP_PLATFORM eq "nvcc") {
|
||||
$HIP_PLATFORM = "nvidia";
|
||||
$HIP_COMPILER = "nvcc";
|
||||
$HIP_RUNTIME = "cuda";
|
||||
warn("Warning: HIP_PLATFORM=nvcc is deprecated. Please use HIP_PLATFORM=nvidia. \n")
|
||||
}
|
||||
|
||||
if ($HIP_COMPILER eq "clang") {
|
||||
|
||||
Reference in New Issue
Block a user