Vulkan compute for people
This assumes required dependencies are already present on your system and findable by cmake
.
Replace VUH_SOURCE_DIR
by the path to vuh sources on your setup and build out-of-source.
cmake ${VUH_SOURCE_DIR}
cmake --build . --target install
Install script depends on cmake
and cget
(pip install cget
) to be available.
Replace VUH_SOURCE_DIR
and DEPENDENCIES_INSTALL_DIR
by their values on your system.
Build out of source.
export CGET_PREFIX=${DEPENDENCIES_INSTALL_DIR}
${VUH_SOURCE_DIR}/config/install_dependencies.sh
cmake -DCMAKE_PREFIX_PATH=${DEPENDENCIES_INSTALL_DIR} ${VUH_SOURCE_DIR}
cmake --build . --target install
TBD. Should be similar to above.
export CGET_PREFIX=${DEPENDENCIES_INSTALL_DIR}
${VUH_SOURCE_DIR}/config/install_dependencies.sh
brew install spdlog
cmake -DCMAKE_PREFIX_PATH=${DEPENDENCIES_INSTALL_DIR} ${VUH_SOURCE_DIR}
cmake --build . --target install