Add files via upload

[ROCm/rocminfo commit: cfbbb52395]
이 커밋은 다음에 포함됨:
justxi
2018-03-22 19:41:59 +01:00
커밋한 사람 Chris Freehill
부모 d01a68b591
커밋 a8c29f0c97
+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()