From 4cd306f0ed94568320206d2893d98df71d1339c7 Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Sun, 4 Oct 2020 18:11:56 +0100 Subject: [PATCH] Updated readme and single kompute --- README.md | 9 +++++++-- single_include/kompute/Kompute.hpp | 1 - 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e2aa56d2e..c5990bf8d 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ * Non-Vulkan core naming conventions to disambiguate Vulkan vs Kompute components * Fast development cycles with shader tooling, but robust static shader binary bundles for prod * Explicit relationships for GPU and host memory ownership and memory management -* Providing [simple usecases]() as well as [advanced machine learning & data processing](https://ethicalml.github.io/vulkan-kompute/overview/advanced-examples.html) examples +* Advanced examples for [machine learning](https://github.com/EthicalML/vulkan-kompute/tree/master/examples/logistic_regression), [mobile development](), [game development](https://github.com/EthicalML/vulkan-kompute/tree/master/examples/godot_logistic_regression) and [more](https://github.com/EthicalML/vulkan-kompute/tree/master/examples/logistic_regression). ![](https://raw.githubusercontent.com/ethicalml/vulkan-kompute/master/docs/images/komputer-2.gif) @@ -46,7 +46,7 @@ Kompute is provided as a single header file [`Kompute.hpp`](single_include/kompute/Kompute.hpp) that can be simply included in your code and integrated with the shared library. -This project is built using cmake providing a simple way to integrate as static or shared library. +This project is built using cmake, providing a simple way to integrate as static or shared library across multiple platforms including mobile, game engines and various other platforms. ### Your first Kompute @@ -269,6 +269,11 @@ This by default configures without any of the extra build tasks (such as buildin | -DKOMPUTE_OPT_BUILD_DOCS=1 | Enable if you wish to build the docs (must have docs deps installed) | | -DKOMPUTE_OPT_BUILD_SINGLE_HEADER=1 | Option to build the single header file using "quom" utility | | -DKOMPUTE_EXTRA_CXX_FLAGS="..." | Allows you to pass extra config flags to compiler | +| -DKOMPUTE_OPT_INSTALL=0 | Disables the install step in the cmake file (useful for android build) | +| -DKOMPUTE_OPT_ANDROID_BUILD=1 | Enables android build which includes and excludes relevant libraries | +| -DKOMPUTE_VK_API_VERSION="..." | Sets the default api version to use for vulkan kompute api | +| -DKOMPUTE_VK_API_MAJOR_VERSION=1 | Major version to use for the Vulkan API | +| -DKOMPUTE_VK_API_MINOR_VERSION=1 | Minor version to use for the Vulkan API | ### Dependencies diff --git a/single_include/kompute/Kompute.hpp b/single_include/kompute/Kompute.hpp index 877312db2..2718b6599 100755 --- a/single_include/kompute/Kompute.hpp +++ b/single_include/kompute/Kompute.hpp @@ -5,7 +5,6 @@ #include // VK_NO_PROTOTYPES required before vulkan import but after wrapper.hpp #undef VK_NO_PROTOTYPES -#define DVULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1 static const char* KOMPUTE_LOG_TAG = "KomputeLog"; #endif