Skip to content

Commit c002d2e

Browse files
committed
add gfx
1 parent 83ca829 commit c002d2e

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

scripts/bitcodes/compile.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ def compileAmd():
9898
'gfx1010', 'gfx1011', 'gfx1012', 'gfx1013', # Navi1
9999
'gfx900', 'gfx902', 'gfx904', 'gfx906', 'gfx908', 'gfx909', 'gfx90a', 'gfx90c', 'gfx940', 'gfx941', 'gfx942'] # Vega
100100

101+
102+
if hip_sdk_version_num >= 63:
103+
gpus_archs.append('gfx1152')
104+
101105
if hip_sdk_version_num >= 62: # Navi4 supported from 6.2
102106
gpus.append('gfx1200')
103107
gpus.append('gfx1201')

scripts/bitcodes/precompile_bitcode.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ def compileAmd():
105105
hip_sdk_version_num = 10 * int(hip_sdk_version_major) + int(hip_sdk_version_minor)
106106
hip_version = hip_sdk_version_major +"."+ hip_sdk_version_minor
107107

108+
109+
if hip_sdk_version_num >= 63:
110+
gpus_archs.append('gfx1152')
111+
108112
if hip_sdk_version_num >= 62: # Navi4 supported from 6.2
109113
gpus.append('gfx1200')
110114
gpus.append('gfx1201')

0 commit comments

Comments
 (0)