Skip to content

Commit 9452e5c

Browse files
authored
Merge pull request #36 from GPUOpen-LibrariesAndSDKs/gfx1152
add gfx
2 parents 83ca829 + c002d2e commit 9452e5c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

scripts/bitcodes/compile.py

+4
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

+4
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)