From bbbd177dd7aa07b138062a799eda8e21bc48bddb Mon Sep 17 00:00:00 2001 From: Ammar ELWazir Date: Tue, 1 Nov 2022 23:21:05 -0500 Subject: [PATCH] Suppressing the hipGraphLaunch issue hipGraphs acts as a separate activity group as they have their own memory copies and their kernel dispatches and more activities, currently hip api that roctracer depend on doesn't have a way to represent this type, so we are temporarily suppressing the issue up till we have a complete support for the hipGraphs Change-Id: I5d889be05c9414530672c781e5a712d572ea4104 --- bin/tblextr.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/tblextr.py b/bin/tblextr.py index 0d410c7735..d8c7d55a8d 100755 --- a/bin/tblextr.py +++ b/bin/tblextr.py @@ -382,6 +382,7 @@ def fill_api_db(table_name, db, indir, api_name, api_pid, dep_pid, dep_list, dep hip_wait_event_ptrn = re.compile(r'WaitEvent') hip_sync_event_ptrn = re.compile(r'hipStreamSynchronize') hip_sync_dev_event_ptrn = re.compile(r'hipDeviceSynchronize') + hip_graph_ptrn = re.compile(r'hipGraphLaunch') wait_event_ptrn = re.compile(r'WaitEvent|hipStreamSynchronize|hipDeviceSynchronize') hip_stream_wait_write_ptrn = re.compile(r'hipStreamWaitValue64|hipStreamWriteValue64|hipStreamWaitValue32|hipStreamWriteValue32') prop_pattern = re.compile("([\w-]+)\((\w+)\)"); @@ -520,6 +521,10 @@ def fill_api_db(table_name, db, indir, api_name, api_pid, dep_pid, dep_list, dep mcopy_found = 1 op_found = 1 + # HIP Graph API + if hip_graph_ptrn.search(record_name): + op_found = 1 + # HIP WaitEvent API if wait_event_ptrn.search(record_name): op_found = 1