HIPCC adds paths to profiler include and libs by default.
Users who desire otherwise can set HIP_ATP_MARKER=0. Also remove old unused hipcc_explicit_lib option. Change-Id: I2bf07ba880329e7a3b1365dd33a3b2be6794370f
Šī revīzija ir iekļauta:
+4
-5
@@ -79,7 +79,7 @@ if ($HIP_PLATFORM eq "hcc") {
|
|||||||
|
|
||||||
$ROCM_PATH=$ENV{'ROCM_PATH'} // "/opt/rocm";
|
$ROCM_PATH=$ENV{'ROCM_PATH'} // "/opt/rocm";
|
||||||
|
|
||||||
$HIP_ATP_MARKER=$ENV{'HIP_ATP_MARKER'};
|
$HIP_ATP_MARKER=$ENV{'HIP_ATP_MARKER'} // 1;
|
||||||
$marker_path = "$ROCM_PATH/profiler/CXLActivityLogger";
|
$marker_path = "$ROCM_PATH/profiler/CXLActivityLogger";
|
||||||
|
|
||||||
$ROCM_TARGET=$ENV{'ROCM_TARGET'} // "fiji";
|
$ROCM_TARGET=$ENV{'ROCM_TARGET'} // "fiji";
|
||||||
@@ -273,10 +273,9 @@ foreach $arg (@ARGV)
|
|||||||
# Process HIPCC options here:
|
# Process HIPCC options here:
|
||||||
if ($arg =~ m/^--hipcc/) {
|
if ($arg =~ m/^--hipcc/) {
|
||||||
$swallowArg = 1;
|
$swallowArg = 1;
|
||||||
if ($arg eq "--hipcc_explicit_lib") {
|
#if $arg eq "--hipcc_profile") { # Example argument here, hipcc
|
||||||
# Some environments (ie cmake tests) already link their own hip_hcc.o, so don't add here:
|
#
|
||||||
$needHipHcc = 0;
|
#}
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
push (@options, $arg);
|
push (@options, $arg);
|
||||||
}
|
}
|
||||||
|
|||||||
Atsaukties uz šo jaunā problēmā
Block a user