File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ backends/qualcomm
5151| | # models on a device.
5252| └── backends # Backends supported by QNN.
5353| └── gpu / htp
54- | ├── aarch64 # Configuration required to run on device. (Device Part).
55- | └── x86_64 # Configuration required to compile graph on host. (AoT Part).
54+ | ├── target # Configuration required to run on device. (Device Part).
55+ | └── host # Configuration required to compile graph on host. (AoT Part).
5656├── scripts # Misc supporting scripts, not related to core functionality.
5757├── serialization # Contains files related to serializing QNN compiler options and SoC information
5858├── tests # Unit tests and model tests go here.
Original file line number Diff line number Diff line change @@ -15,5 +15,7 @@ def define_common_targets():
1515 visibility = ["PUBLIC" ],
1616 deps = [
1717 "//executorch/backends/transforms:decompose_sdpa" ,
18+ "//executorch/extension/pybindings:portable_lib" ,
19+ "//executorch/kernels/quantized:quantized_ops_lib" ,
1820 ],
1921 )
Original file line number Diff line number Diff line change @@ -43,17 +43,6 @@ target_sources(
4343 ${CMAKE_CURRENT_LIST_DIR} /QnnProfiler.cpp
4444)
4545
46- set (HOST_ARCHITECTURE_GPU
47- ${CMAKE_CURRENT_LIST_DIR} /gpu/${CMAKE_SYSTEM_PROCESSOR}
48- )
49- set (HOST_ARCHITECTURE_HTP
50- ${CMAKE_CURRENT_LIST_DIR} /htp/${CMAKE_SYSTEM_PROCESSOR}
51- )
52- set (HOST_ARCHITECTURE_IR ${CMAKE_CURRENT_LIST_DIR} /ir/${CMAKE_SYSTEM_PROCESSOR} )
53- set (HOST_ARCHITECTURE_LPAI
54- ${CMAKE_CURRENT_LIST_DIR} /lpai/${CMAKE_SYSTEM_PROCESSOR}
55- )
56-
5746set (platform target)
5847if (${CMAKE_SYSTEM_PROCESSOR} MATCHES x86_64)
5948 set (platform host)
@@ -62,6 +51,7 @@ endif()
6251set (HOST_ARCHITECTURE_GPU ${CMAKE_CURRENT_LIST_DIR} /gpu/${platform} )
6352set (HOST_ARCHITECTURE_HTP ${CMAKE_CURRENT_LIST_DIR} /htp/${platform} )
6453set (HOST_ARCHITECTURE_IR ${CMAKE_CURRENT_LIST_DIR} /ir/${platform} )
54+ set (HOST_ARCHITECTURE_LPAI ${CMAKE_CURRENT_LIST_DIR} /lpai/${platform} )
6555
6656# qnn_device
6757target_sources (
Load Diff This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -47,9 +47,11 @@ def define_common_targets():
4747 "backends/gpu/*.cpp" ,
4848 "backends/htp/*.cpp" ,
4949 "backends/ir/*.cpp" ,
50+ "backends/lpai/*.cpp" ,
5051 ] + (["backends/gpu/host/*.cpp" ] if include_aot_qnn_lib else ["backends/gpu/target/*.cpp" ]) + (
5152 ["backends/htp/host/*.cpp" ] if include_aot_qnn_lib else ["backends/htp/target/*.cpp" ]) + (
52- ["backends/ir/host/*.cpp" ] if include_aot_qnn_lib else ["backends/ir/target/*.cpp" ]
53+ ["backends/ir/host/*.cpp" ] if include_aot_qnn_lib else ["backends/ir/target/*.cpp" ]) + (
54+ ["backends/lpai/host/*.cpp" ] if include_aot_qnn_lib else ["backends/lpai/target/*.cpp" ]
5355 ),
5456 exclude = ["Logging.cpp" ],
5557 ),
@@ -60,6 +62,7 @@ def define_common_targets():
6062 "backends/gpu/*.h" ,
6163 "backends/htp/*.h" ,
6264 "backends/ir/*.h" ,
65+ "backends/lpai/*.h" ,
6366 ],
6467 exclude = ["Logging.h" ],
6568 ),
You can’t perform that action at this time.
0 commit comments