A library written in C++ that is focused on making compute with Vulkan a lot less painless with performance in mind.
- Meson Version 0.47 or higher
- Any C++ Compiler
- gcc
- clang
- glslang for compiling SPIR-V Shaders
To build only vkcl, you can run:
sh build.sh vkcl
If you desire to build the n-body simulator test as well, you can run:
sh build.sh nbody
# or also simply
sh build.sh
The following build options are available:
- enable_debug - Enables debugging symbols and Vulkan validation layers.
- enable_test - Compiles the test program, which can then be run with
meson test
.
These build options are off by default, but can be enabled with:
meson configure build -Denable_debug=true -Denable_test=true
- 6950XT w/ RADV/ACO - 41.68 FPS
- 5700XT w/ RADV/LLVM - 18.52 FPS
- 5700XT w/ RADV/ACO - 17.54 FPS
- 6600XT w/ RADV/ACO - 17.54 FPS
- 5700XT w/ AMDVLK - 11.36 FPS
- 5700XT w/ AMDVLK-PRO - 2.35 FPS
- 2060S - ~2 FPS?
- Vega10 w/ RADV/ACO - 1.26 FPS
- Vega10 w/ RADV/LLVM - 1.25 FPS
- Vega10 w/ AMDVLK - 0.99 FPS
- Vega10 w/ AMDVLK-PRO - 0.46 FPS