Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in-house vulkan loader #5130

Merged
merged 19 commits into from
Nov 9, 2023
Merged

in-house vulkan loader #5130

merged 19 commits into from
Nov 9, 2023

Conversation

nihui
Copy link
Member

@nihui nihui commented Nov 3, 2023

  • resolve link issue
  • test windows
  • doc
  • VK_ICD_FILENAMES
  • default to static moltenvk on apple platforms
ncnn::create_gpu_instance();
ncnn::create_gpu_instance("libvulkan.so");
ncnn::create_gpu_instance("libvulkan.so.1");
ncnn::create_gpu_instance("vulkan-1.dll");
ncnn::create_gpu_instance("libvulkan.dylib");
ncnn::create_gpu_instance("libvulkan.1.dylib");
ncnn::create_gpu_instance("libMoltenVK.dylib");
ncnn::create_gpu_instance("/usr/lib/libvulkan_radeon.so");
ncnn::create_gpu_instance("/usr/lib64/libvulkan_radeon.so");
ncnn::create_gpu_instance("/usr/lib64/libvulkan_intel.so");
ncnn::create_gpu_instance("/usr/lib64/libvulkan_lvp.so");
ncnn::create_gpu_instance("/vendor/lib64/hw/vulkan.adreno.so");
ncnn::create_gpu_instance("/vendor/lib64/hw/vulkan.rk30board.so");
ncnn::create_gpu_instance("/vendor/lib64/hw/vulkan.rk3399.so");
ncnn::create_gpu_instance("/data/local/tmp/vulkan.ad07XX.so");

@github-actions github-actions bot added the core label Nov 3, 2023
@codecov-commenter
Copy link

codecov-commenter commented Nov 3, 2023

Codecov Report

Merging #5130 (c781870) into master (31e3159) will decrease coverage by 5.02%.
Report is 1 commits behind head on master.
The diff coverage is n/a.

❗ Current head c781870 differs from pull request most recent head 5dc0c99. Consider uploading reports for the commit 5dc0c99 to get more accurate results

@@             Coverage Diff             @@
##           master    #5130       +/-   ##
===========================================
- Coverage   94.70%   89.69%    -5.02%     
===========================================
  Files         776      261      -515     
  Lines      241462    73762   -167700     
===========================================
- Hits       228674    66159   -162515     
+ Misses      12788     7603     -5185     
Files Coverage Δ
src/allocator.h 87.50% <ø> (ø)
src/mat.h 91.25% <ø> (-1.53%) ⬇️

... and 754 files with indirect coverage changes

@nihui nihui closed this Nov 6, 2023
@nihui nihui reopened this Nov 6, 2023
@nihui nihui closed this Nov 7, 2023
@nihui nihui reopened this Nov 7, 2023
@nihui nihui closed this Nov 7, 2023
@nihui nihui reopened this Nov 7, 2023
@nihui nihui closed this Nov 8, 2023
@nihui nihui reopened this Nov 8, 2023
@nihui nihui changed the title [WIP] in-house vulkan loader in-house vulkan loader Nov 8, 2023
@nihui nihui force-pushed the vulkan-loader branch 2 times, most recently from 21d532f to 84ee323 Compare November 8, 2023 08:32
@github-actions github-actions bot added the doc label Nov 8, 2023
@nihui nihui merged commit b4f2623 into Tencent:master Nov 9, 2023
55 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants