SWDEV-296100: hipStreamWaitValue64 and hipStreamWriteValue64 break rocprof

Change-Id: I5b31affa6df4359a02014b87b825554ac5519c1a
Этот коммит содержится в:
Saurabh Verma
2021-09-07 17:23:05 -05:00
родитель acb246f788
Коммит ca059e1aa9
+4
Просмотреть файл
@@ -358,6 +358,7 @@ def fill_api_db(table_name, db, indir, api_name, api_pid, dep_pid, dep_list, dep
hip_sync_event_ptrn = re.compile(r'hipStreamSynchronize')
hip_sync_dev_event_ptrn = re.compile(r'hipDeviceSynchronize')
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+)\)");
beg_pattern = re.compile("^dispatch\[(\d*)\], (.*) kernel-name\(\"([^\"]*)\"\)")
hip_strm_cr_event_ptrn = re.compile(r'hipStreamCreate')
@@ -491,6 +492,9 @@ def fill_api_db(table_name, db, indir, api_name, api_pid, dep_pid, dep_list, dep
if wait_event_ptrn.search(record_name):
op_found = 1
if hip_stream_wait_write_ptrn.search(record_name):
op_found = 1
# HSA memcopy API
if hsa_mcopy_ptrn.match(record_name):
mcopy_found = 1