Fix parsing of rocminfo output for ISAs with no features defined
Patch is an internal port of
https://github.com/RadeonOpenCompute/rocminfo/pull/59
Change-Id: Iea84f49a60abce73716a7451960c20ee0d2b7bca
[ROCm/rocminfo commit: 34cc693bef]
이 커밋은 다음에 포함됨:
1 부모
34499a0855
커밋
ee2eb9e46d
1 파일이 변경됨
+1
-1
@@ -92,7 +92,7 @@ def getGCNISA(line, match_from_beginning = False):
|
||||
return result.group(0)
|
||||
return None
|
||||
|
||||
@staticVars(search_name=re.compile("gfx[0-9a-fA-F]+:[-+:\w]+"))
|
||||
@staticVars(search_name=re.compile("gfx[0-9a-fA-F]+(:[-+:\w]+)?"))
|
||||
def getGCNArchName(line):
|
||||
result = getGCNArchName.search_name.search(line)
|
||||
|
||||
|
||||
새 이슈에서 참조
사용자 차단