Skip to content

Commit 04f1e4d

Browse files
Qualcomm AI Engine Direct - support SW6100 (pytorch#16003)
Summary - Support SOC SW6100 Test plan - Use unit test with -m SW6100 Co-authored-by: haowhsu-quic <[email protected]>
1 parent 3ad2610 commit 04f1e4d

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
@@ -31,6 +31,7 @@ Please check `generate_qnn_executorch_compiler_spec()` in
3131
- SXR2330P
3232
- QCS9100
3333
- SAR2230P
34+
- SW6100
3435

3536
### Adding more supported Chipset
3637
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
@@ -49,6 +49,7 @@ enum QcomChipset: int {
4949
QCS9100 = 77,
5050
SAR2230P = 95,
5151
SA8255 = 52,
52+
SW6100 = 96,
5253
}
5354

5455
/// 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
@@ -55,6 +55,7 @@ class QcomChipset(IntEnum):
5555
QCS9100 = 77 # v73
5656
SAR2230P = 95 # v81
5757
SA8255 = 52 # v73
58+
SW6100 = 96 # v81
5859

5960

6061
@dataclass
@@ -80,6 +81,7 @@ class SocInfo:
8081
QcomChipset.SXR2330P: SocInfo(QcomChipset.SXR2330P, HtpInfo(HtpArch.V79, 8)),
8182
QcomChipset.QCS9100: SocInfo(QcomChipset.QCS9100, HtpInfo(HtpArch.V73, 8)),
8283
QcomChipset.SAR2230P: SocInfo(QcomChipset.SAR2230P, HtpInfo(HtpArch.V81, 4)),
84+
QcomChipset.SW6100: SocInfo(QcomChipset.SW6100, HtpInfo(HtpArch.V81, 4)),
8385
}
8486

8587

backends/qualcomm/utils/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,7 @@ def get_soc_to_arch_map():
11061106
"SXR2330P": HtpArch.V79,
11071107
"QCS9100": HtpArch.V73,
11081108
"SAR2230P": HtpArch.V81,
1109+
"SW6100": HtpArch.V81,
11091110
}
11101111

11111112

@@ -1127,6 +1128,7 @@ def get_soc_to_chipset_map():
11271128
"SXR2330P": QcomChipset.SXR2330P,
11281129
"QCS9100": QcomChipset.QCS9100,
11291130
"SAR2230P": QcomChipset.SAR2230P,
1131+
"SW6100": QcomChipset.SW6100,
11301132
}
11311133

11321134

0 commit comments

Comments
 (0)