mla 0mla 1- Clone this project with all submodules
git clone https://github.com/nihui/ncnn-vulkan-compute-sample.git
cd ncnn-vulkan-compute-sample
git submodule update --init --recursive- Build with CMake
- You can pass -DUSE_STATIC_MOLTENVK=ON option to avoid linking the vulkan loader library on MacOS
mkdir build
cd build
cmake ..
cmake --build . -j 4