Fix roofline override detection
Signed-off-by: colramos-amd <colramos@amd.com>
[ROCm/rocprofiler-compute commit: 390f469091]
This commit is contained in:
@@ -382,7 +382,10 @@ def omniperf_profile(args):
|
||||
# Skip roofline if --no-roof is set.
|
||||
if not args.no_roof:
|
||||
target_binary = detect_roofline()
|
||||
path_to_binary = str(OMNIPERF_HOME) + "/utils/rooflines/roofline" + "-" + DISTRO_MAP[target_binary["distro"]] + "-" + args.target.lower() + "-rocm" + target_binary["rocm_ver"]
|
||||
if target_binary["rocm_ver"] == "override":
|
||||
path_to_binary = target_binary["path"]
|
||||
else:
|
||||
path_to_binary = str(OMNIPERF_HOME) + "/utils/rooflines/roofline" + "-" + DISTRO_MAP[target_binary["distro"]] + "-" + args.target.lower() + "-rocm" + target_binary["rocm_ver"]
|
||||
# Distro is valid but cant find rocm ver
|
||||
if not os.path.exists(path_to_binary):
|
||||
print(
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
import sys
|
||||
|
||||
|
||||
|
||||
import copy
|
||||
import sys
|
||||
import argparse
|
||||
|
||||
مرجع در شماره جدید
Block a user