imx8mp NPU required kernel driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx8mp NPU required kernel driver

2,867 次查看
arno_0
Contributor III

Would like to know what is the minimum kernel driver that is needed to get the NPU running.

Reading the documents IMXMLUG (Machine Learning) it mentiones a "unified GPU/NPU driver" with no further details.  And in IMXGRAPHICUG (imx Graphics) the NPU is not mentioned at all. That is why I am asking what is minimum driver set needed? I do have a headless system - no graphical output.

Can you tell me what options to choose in kernel config (minimum) to enable the acceleration by the NPU?

A second question is about the attached image (IMXMLUG Figure 3): What is the advantage of XNNPACK delegate over the direct access. Seems that direct access using NEON and XNNPACK CPU (floating point). Does it mean that direct way is faster but less precise?

标记 (4)
0 项奖励
1 回复

2,836 次查看
arno_0
Contributor III

So far it looks as it is located in drivers/mxc. But for sure not all is needed. Can you tell me what to focus on? I figured out that part creates once init by kernel a /dev/galcore, right?

Same about the devicetree - what is needed to enable?

0 项奖励