Skip to content

Commit 6ccce31

Browse files
committed
add SA8295 support
1 parent 8526d0a commit 6ccce31

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

backends/qualcomm/serialization/qnn_compile_spec_schema.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class QcomChipset(IntEnum):
3535
SM8550 = 43 # v73
3636
SSG2115P = 46 # v73
3737
SM8650 = 57 # v75
38+
SA8295 = 39 # v68
3839

3940

4041
@dataclass
@@ -49,6 +50,7 @@ class SocInfo:
4950
QcomChipset.SM8550: SocInfo(QcomChipset.SM8550, HtpInfo(HtpArch.V73, 8)),
5051
QcomChipset.SM8650: SocInfo(QcomChipset.SM8650, HtpInfo(HtpArch.V75, 8)),
5152
QcomChipset.SSG2115P: SocInfo(QcomChipset.SSG2115P, HtpInfo(HtpArch.V73, 2)),
53+
QcomChipset.SA8295: SocInfo(QcomChipset.SA8295, HtpInfo(HtpArch.V68, 8)),
5254
}
5355

5456

backends/qualcomm/serialization/schema.fbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ enum QcomChipset: int {
3434
SM8550 = 43,
3535
SSG2115P = 46,
3636
SM8650 = 57,
37+
SA8295 = 39,
3738
}
3839

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

backends/qualcomm/utils/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,7 @@ def get_soc_to_arch_map():
869869
"SM8550": HtpArch.V73,
870870
"SM8475": HtpArch.V69,
871871
"SM8450": HtpArch.V69,
872+
"SA8295": HtpArch.V68,
872873
}
873874

874875

@@ -879,6 +880,7 @@ def get_soc_to_chipset_map():
879880
"SM8550": QcomChipset.SM8550,
880881
"SM8475": QcomChipset.SM8475,
881882
"SM8450": QcomChipset.SM8450,
883+
"SA8295": QcomChipset.SA8295,
882884
}
883885

884886

0 commit comments

Comments
 (0)