Consistent useage of -p/--path option in profile mode
Signed-off-by: colramos-amd <colramos@amd.com>
[ROCm/rocprofiler-compute commit: 95f886ef5a]
This commit is contained in:
1 parent
4b96ea115f
commit
3a0b29a4a9
1 file changed
+4
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user