Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Nov 8, 2023
1 parent ba3ab29 commit c39af26
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/developer-guide/vulkan-driver-loader.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ net.load_param("model.param");
net.load_param("model.bin");
```

Using the in-house vulkan loader instead of the standard libvulkan has the following benefits

1. Can compile ncnn vulkan code without installing vulkan-sdk
2. Can deploy and distribute applications without libvulkan linkage
3. Can load external vulkan driver instead of system driver
4. Can directly load android hal module
5. Can directly load graphics card driver files via NCNN_VULKAN_DRIVER env
6. Able to actively search for graphics card driver files in the system and load them
7. Can compile android libraries supporting vulkan under the platform of android-api<24

## Create and manage gpu context

```cpp
Expand Down

0 comments on commit c39af26

Please sign in to comment.