The Compass_NPU driver consists of two parts: the kernel mode driver (KMD) and the user mode driver (UMD). The kernel mode driver is a standard Linux character device driver, while the user mode driver is actually a library for assisting application development, which can be compiled into In the form of a dynamic library or a static library. The application program directly calls the high-level API provided by the user-mode driver, and then indirectly calls the interface provided by the kernel-mode driver to achieve the purpose of interacting with the hardware. 1. The directory driver stores the source code of the kernel mode (KMD) and user mode (UMD) drivers to implement devicetree. How to use this driver on some embedded platforms, the corresponding settings…

#Zhouyi #NPU #Driver

Leave a Comment

Your email address will not be published. Required fields are marked *