aclrtSetDevice报错,返回值=507033
收藏回复举报
aclrtSetDevice报错,返回值=507033
t('forum.solved') 已解决
新人帖
发表于2023-06-28 20:15:58
0 查看

Atlas 200模块通过pcie ep模式连接到飞腾D2000处理器,飞腾处理器适配银河麒麟V10-aarch64系统,安装驱动、固件以及toolkit后,npu-smi info可以正常识别到2个设备。

运行sample的样例,发现aclrtSetDevice报错,返回值=507033,测试程序打印信息如下

[INFO] acl init success
[ERROR] acl set device 0 failed, errorCode = 507033
[ERROR] sampleProcess init resource failed
[INFO] end to destroy stream
[INFO] end to destroy context
[ERROR] reset device 0 failed, errorCode = 507007
[INFO] end to reset device 0
[INFO] end to finalize acl

附件为log信息

我要发帖子