High Level working of Qualcomm AI Engine SDK
Working of AI Engine SDK
Qualcomm AI Engine Directs works through something called "backends" which are basically software components that help the AI Engine communicate with different parts of the Qualcomm processors.
These backends are often packaged as shared libraries, which are like bundles of code that can be easily used by other programs.
There are different types of backends each designed for a specific hardware accelerator core:
1.CPU backends:-It is for Snapdragon CPU.It helps AI Engine SDK works better with CPU.
2.DSP backends:-This one is for the Hexagon Dsp accelerator.It helps the AI engine use the DSP efficiently.
3.GPU backends:- This is for the Adreno GPU.It helps the AI Engine utilize the GPU's power.
4.Htp backends :-This is for the Hexagon tensor processor. It helps the AI Engine communicate with the HTP.
5.HTA backends:- This one is for the Snapdragon Hta accelerator.
6.Lpai backends:- This one is for the Snapdragon Lpai accelerator.
7.Saver Backend:- This one captures AI operations for troubleshooting.
Each backend has its own library file(like libQnnCpu.so for CPU), and they have specific names based on the platform(like 'aarch64-android' or 'x86_64-linux-clang').These libraries help developers integrate AI functionality into their apps for different Qualcomm processors.
In essence, these backends make it easier for developers to optimise and run AI applications on Qualcomm processors by providing a bridge between the software and the hardware.
Comments
Post a Comment