Skip to content

Commit

Permalink
Consistent useage of -p/--path option in profile mode
Browse files Browse the repository at this point in the history
Signed-off-by: colramos-amd <colramos@amd.com>
  • Loading branch information
coleramos425 committed Oct 4, 2023
1 parent d334190 commit 95f886e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/omniperf
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,10 @@ def omniperf_profile(args, VER):
print("KernelName verbose level: ", str(args.kernelVerbose))

# Set up directories
workload_dir = args.path + "/" + args.name + "/" + args.target
if args.path == os.getcwd() + "/workloads":
workload_dir = args.path + "/" + args.name + "/" + args.target
else:
workload_dir = args.path
perfmon_dir = str(OMNIPERF_HOME) + "/perfmon_pub"

# Perfmon filtering
Expand Down

0 comments on commit 95f886e

Please sign in to comment.