Skip to content

Commit 236f847

Browse files
authored
add 8845 support
Differential Revision: D90288938 Pull Request resolved: #16500
1 parent 0d78c23 commit 236f847

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

backends/qualcomm/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Please check `generate_qnn_executorch_compiler_spec()` in
3232
- QCS9100
3333
- SAR2230P
3434
- SW6100
35+
- SM8845
3536

3637
### Adding more supported Chipset
3738
Currently, users cannot add additional chipset models because the chipset ID is not accessible to community users. If you have specific chipset models you wish to add, please contact one of the authors in the `Code Reviews` section at the bottom of this page.

backends/qualcomm/serialization/qc_compiler_spec.fbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ enum QcomChipset: int {
5151
SA8255 = 52,
5252
SW6100 = 96,
5353
QCM6490 = 93,
54+
SM8845 = 97,
5455
}
5556

5657
/// Indicate the information of the specified SoC.

backends/qualcomm/serialization/qc_schema.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class QcomChipset(IntEnum):
5757
SA8255 = 52 # v73
5858
SW6100 = 96 # v81
5959
QCM6490 = 93 # v68
60+
SM8845 = 97 # v81
6061

6162

6263
@dataclass
@@ -84,6 +85,7 @@ class SocInfo:
8485
QcomChipset.SAR2230P: SocInfo(QcomChipset.SAR2230P, HtpInfo(HtpArch.V81, 4)),
8586
QcomChipset.SW6100: SocInfo(QcomChipset.SW6100, HtpInfo(HtpArch.V81, 4)),
8687
QcomChipset.QCM6490: SocInfo(QcomChipset.QCM6490, HtpInfo(HtpArch.V68, 2)),
88+
QcomChipset.SM8845: SocInfo(QcomChipset.SM8845, HtpInfo(HtpArch.V81, 8)),
8789
}
8890

8991

backends/qualcomm/utils/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,6 +1146,7 @@ def get_soc_to_arch_map():
11461146
"SAR2230P": HtpArch.V81,
11471147
"SW6100": HtpArch.V81,
11481148
"QCM6490": HtpArch.V68,
1149+
"SM8845": HtpArch.V81,
11491150
}
11501151

11511152

@@ -1169,6 +1170,7 @@ def get_soc_to_chipset_map():
11691170
"SAR2230P": QcomChipset.SAR2230P,
11701171
"SW6100": QcomChipset.SW6100,
11711172
"QCM6490": QcomChipset.QCM6490,
1173+
"SM8845": QcomChipset.SM8845,
11721174
}
11731175

11741176

0 commit comments

Comments
 (0)