Usually, you can enable the vulkan compute inference feature by adding only one line of code to your application. Some platforms have been tested and known working. In theory, if your platform support ...
$ sudo dnf install vulkan-devel $ cmake -DNCNN_VULKAN=ON ..