SWDEV-356166: Adding fix to load rocminfo without it in the PATH variable

Change-Id: I3f36900b47b72fab44c561123cd7600161124430
Tá an tiomantas seo le fáil i:
Sriraksha Nagaraj tiomanta 2023-05-31 14:49:11 -04:00
1 tuismitheoir 9834b9016a
tiomantas 3fe6016957
2 comhad athraithe
+10 -2

Níor tháinig aon chomhaid le do chuardach

+1 -1
Féach ar an gComhad
@@ -833,7 +833,7 @@ else:
copy_statfile = re.sub(r'\.stats\.csv$', r'.copy_stats.csv', statfile)
memcopy_info_file = re.sub(r'\.stats\.csv$', r'.memcopy_info.csv', statfile)
sysinfo_file = re.sub(r'\.stats\.csv$', r'.sysinfo.txt', statfile)
metadata_gen(sysinfo_file, 'rocminfo')
metadata_gen(sysinfo_file, "@ROCMINFO_EXEC@")
with open(dbfile, mode='w') as fd: fd.truncate()
db = SQLiteDB(dbfile)