Этот коммит содержится в:
justxi authored and Chris Freehill committed 2019-06-19 13:44:12 -05:00
1 родитель 26378662db
Коммит cfbbb52395
1 file changed
+3 -3
+3 -3
Просмотреть файл
@@ -78,7 +78,7 @@ def readFromROCMINFO():
try:
# run rocminfo
rocminfo_output = subprocess.Popen(rocminfo_executable, stdout=subprocess.PIPE).communicate()[0].split('\n')
rocminfo_output = subprocess.Popen(rocminfo_executable, stdout=subprocess.PIPE).communicate()[0].decode("utf-8").split('\n')
except:
rocminfo_output = []
@@ -138,10 +138,10 @@ def main():
# workaround to cope with existing rocm_agent_enumerator behavior where gfx000
# would always be returned
print "gfx000"
print("gfx000")
for gfx in target_list:
print gfx
print(gfx)
if __name__ == "__main__":
main()