ncnn icon indicating copy to clipboard operation
ncnn copied to clipboard

vkCreateDevice failed VK_ERROR_INITIALIZATION_FAILED

Open sdnusqy-art opened this issue 3 years ago • 1 comments

error log | 日志或报错信息 | ログ

vkCreateDevice failed VK_ERROR_INITIALIZATION_FAILED

context | 编译/运行环境 | バックグラウンド

centos7 ncnn-20210507 8 RTX3080显卡 显卡驱动 515.65.01

how to reproduce | 复现步骤 | 再現方法

  1. 修改benchncnn.cpp 8个Net对象,一个显卡对应一个
  2. 前五个vkCreateDevice 没有问题, 第六个 报VK_ERROR_INITIALIZATION_FAILED

more | 其他 | その他

sdnusqy-art avatar Sep 19 '22 03:09 sdnusqy-art

这个建议你自己先写一个直接基于vulkan库的demo试一下,看能不能正确识别八个卡 ncnn的下面其实也是直接调的vulkan库

wzyforgit avatar Sep 19 '22 05:09 wzyforgit

The latest master branch supports compiling gpu functions without installing vulkan-sdk. You can give it a try. If it doesn't work, feel free to reopen the issue and post your findings.

nihui avatar Nov 09 '23 09:11 nihui