Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backends/qualcomm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Please check `generate_qnn_executorch_compiler_spec()` in
- Snapdragon 8 Elite Gen 5
- SA8295
- SA8255
- SA8797 (also used by SA8397)
- SSG2115P
- SSG2125P
- SXR1230P
Expand Down
1 change: 1 addition & 0 deletions backends/qualcomm/serialization/qc_compiler_spec.fbs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ table HtpInfo {
enum QcomChipset: int {
UNKNOWN_SM = 0,
SA8295 = 39,
SA8797 = 72,
SM8350 = 30,
SM8450 = 36,
SM8475 = 42,
Expand Down
2 changes: 2 additions & 0 deletions backends/qualcomm/serialization/qc_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class HtpInfo:
class QcomChipset(IntEnum):
UNKNOWN_SM = 0
SA8295 = 39 # v68
SA8797 = 72 # v81
SM8350 = 30 # v68
SM8450 = 36 # v69
SM8475 = 42 # v69
Expand Down Expand Up @@ -68,6 +69,7 @@ class SocInfo:

_soc_info_table = {
QcomChipset.SA8295: SocInfo(QcomChipset.SA8295, HtpInfo(HtpArch.V68, 8)),
QcomChipset.SA8797: SocInfo(QcomChipset.SA8797, HtpInfo(HtpArch.V81, 16)),
QcomChipset.SM8350: SocInfo(QcomChipset.SM8350, HtpInfo(HtpArch.V68, 4)),
QcomChipset.SM8450: SocInfo(QcomChipset.SM8450, HtpInfo(HtpArch.V69, 8)),
QcomChipset.SM8475: SocInfo(QcomChipset.SM8475, HtpInfo(HtpArch.V69, 8)),
Expand Down
2 changes: 2 additions & 0 deletions backends/qualcomm/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1144,6 +1144,7 @@ def generate_qnn_executorch_compiler_spec(
def get_soc_to_arch_map():
return {
"SA8295": HtpArch.V68,
"SA8797": HtpArch.V81,
"SM8350": HtpArch.V68,
"SM8450": HtpArch.V69,
"SM8475": HtpArch.V69,
Expand All @@ -1168,6 +1169,7 @@ def get_soc_to_arch_map():
def get_soc_to_chipset_map():
return {
"SA8295": QcomChipset.SA8295,
"SA8797": QcomChipset.SA8797,
"SM8350": QcomChipset.SM8350,
"SM8450": QcomChipset.SM8450,
"SM8475": QcomChipset.SM8475,
Expand Down
1 change: 1 addition & 0 deletions docs/source/backends-qualcomm.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ For more details and troubleshooting, refer to the official Microsoft WSL instal
### Hardware:
You will need an Android / Linux device with adb-connected running on one of below Qualcomm SoCs:
- SA8295
- SA8797 (also used by SA8397)
- SM8450 (Snapdragon 8 Gen 1)
- SM8475 (Snapdragon 8 Gen 1+)
- SM8550 (Snapdragon 8 Gen 2)
Expand Down
Loading