PC sampling initial bringup

This commit is contained in:
Evgeny
2020-01-23 20:55:49 -06:00
parent b4f2aa1a1c
commit 8b63135ced
8 changed files with 107 additions and 30 deletions
+2 -2
View File
@@ -342,8 +342,8 @@ class API_DescrParser:
self.content += ' ' + self.api_id[call] + ' = ' + str(n) + ',\n'
else:
self.content += '\n'
self.content += ' HSA_API_ID_NUMBER = ' + str(n) + ',\n'
self.content += ' HSA_API_ID_ANY = ' + str(n + 1) + ',\n'
self.content += ' HSA_API_ID_DISPATCH = ' + str(n) + ',\n'
self.content += ' HSA_API_ID_NUMBER = ' + str(n + 1) + ',\n'
self.content += '};\n'
# generate API args structure