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 @@ -28,6 +28,7 @@ Please check `generate_qnn_executorch_compiler_spec()` in
- SXR2230P
- SXR2330P
- QCS9100
- SAR2230P

### Adding more supported Chipset
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.
Expand Down
2 changes: 2 additions & 0 deletions backends/qualcomm/serialization/qc_compiler_spec.fbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ enum HtpArch: int {
V73 = 73,
V75 = 75,
V79 = 79,
V81 = 81,
}

table HtpInfo {
Expand All @@ -44,6 +45,7 @@ enum QcomChipset: int {
SXR2230P = 53,
SXR2330P = 75,
QCS9100 = 77,
SAR2230P = 95,
}

/// Indicate the information of the specified SoC.
Expand Down
3 changes: 3 additions & 0 deletions backends/qualcomm/serialization/qc_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class HtpArch(IntEnum):
V73 = 73
V75 = 75
V79 = 79
V81 = 81


@dataclass
Expand All @@ -50,6 +51,7 @@ class QcomChipset(IntEnum):
SXR2230P = 53 # v69
SXR2330P = 75 # v79
QCS9100 = 77 # v73
SAR2230P = 95 # v81


@dataclass
Expand All @@ -71,6 +73,7 @@ class SocInfo:
QcomChipset.SXR2230P: SocInfo(QcomChipset.SXR2230P, HtpInfo(HtpArch.V69, 8)),
QcomChipset.SXR2330P: SocInfo(QcomChipset.SXR2330P, HtpInfo(HtpArch.V79, 8)),
QcomChipset.QCS9100: SocInfo(QcomChipset.QCS9100, HtpInfo(HtpArch.V73, 8)),
QcomChipset.SAR2230P: SocInfo(QcomChipset.SAR2230P, HtpInfo(HtpArch.V81, 4)),
}


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 @@ -1100,6 +1100,7 @@ def get_soc_to_arch_map():
"SXR2230P": HtpArch.V69,
"SXR2330P": HtpArch.V79,
"QCS9100": HtpArch.V73,
"SAR2230P": HtpArch.V81,
}


Expand All @@ -1117,6 +1118,7 @@ def get_soc_to_chipset_map():
"SXR2230P": QcomChipset.SXR2230P,
"SXR2330P": QcomChipset.SXR2330P,
"QCS9100": QcomChipset.QCS9100,
"SAR2230P": QcomChipset.SAR2230P,
}


Expand Down
Loading