调用 vxCreateContext() 时:错误:_OpenDevice(1249):FATAL:无法打开设备,errno=没有这样的文件或目录

问题描述 投票:0回答:1

我正在尝试交叉编译tim-vx-imx。目标机器是nxp的imx8plus。我已设法从预构建的 SDK aarch64-poky-linux-gcc 获取 ovxlib 驱动程序(CLC、Gal、VSC、ArchModelSw、NNarchPerf、OpenVx 和 OpenVXU)。运行 tim-vx-imx 提供的unit_test时,出现此错误

错误:

[     1] Failed to open device: No such file or directory, Try again...                                                [     2] Failed to open device: No such file or directory, Try again...                                               [     3] Failed to open device: No such file or directory, Try again...                                                 [     4] Failed to open device: No such file or directory, Try again...                                                 [     5] OpenDevice(1249): FATAL: Failed to open device, errno=No such file or directory.
cross-compiling toolchain tflite imx8
1个回答
0
投票

问题在于缺少对 GPU/NPU 的内核支持。要修复它,您需要重新编译内核。

© www.soinside.com 2019 - 2024. All rights reserved.