SWDEV-281658 - Preserve the callback IDs enum ordering

Use continue instead of break to make sure we process the
whole hip_runtime_api.h file.

Change-Id: Ied2a8df69ed9eb1dc04d6b2d0d7b117ce2a2b6b3


[ROCm/clr commit: 9a510f1cf1]
This commit is contained in:
Christophe Paquot committed 2021-07-20 20:12:21 -07:00
1 parent 9488cd1194
commit f9116b4328
2 files changed
+1256 -131

No files matched your search

File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -178,7 +178,7 @@ def parse_api(inp_file_p, out):
m = api_pattern.match(record)
if m:
found = 0
if end_pattern.search(record): break
if end_pattern.search(record): continue
api_name = filtr_api_name(m.group(2))
api_args = m.group(3)
if not api_name in out: