From 1e39ef30cc5906debdef34760096a4c3e5a30c09 Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Tue, 13 Oct 2020 06:13:04 +0100 Subject: [PATCH] Updated includes --- .../app/src/main/cpp/KomputeJniNative.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/examples/android/android-simple/app/src/main/cpp/KomputeJniNative.cpp b/examples/android/android-simple/app/src/main/cpp/KomputeJniNative.cpp index 25b9a0ae6..995b785f2 100644 --- a/examples/android/android-simple/app/src/main/cpp/KomputeJniNative.cpp +++ b/examples/android/android-simple/app/src/main/cpp/KomputeJniNative.cpp @@ -12,14 +12,20 @@ // See the License for the specific language governing permissions and // limitations under the License. -#include +// Includes the Jni utilities for Android to be able to create the +// relevant bindings for java, including JNIEXPORT, JNICALLĀ , and +// other "j-variables". #include -#include "kompute/Kompute.hpp" - +// The ML class exposing the Kompute ML workflow for training and +// prediction of inference data. #include "KomputeModelML.hpp" +// Allows us to use the C++ sleep function to wait when loading the +// Vulkan library in android +#include + #ifndef KOMPUTE_VK_INIT_RETRIES #define KOMPUTE_VK_INIT_RETRIES 5 #endif