Skip to content

Demonstrate how to use vulkan compute api to perform vector addition on Android Operating System.

License

Notifications You must be signed in to change notification settings

Dayananda-V/Android-Vulkan-Compute-Demo

Repository files navigation

Android Vulkan Compute Demo

Examples of using the Khronos Group's Vulkan Compute API standard to perform vector addition on Android Phone Operating System.

You will need JDK, Android SDK, Android NDK and an Android device to use this.

Build and Installation

Build APK

We use Gradle to build. Please follow the installation instruction for your operating system.

Run following script to generate the apk file.

$ export ANDROID_HOME=[Path to your Android SDK, e.g., ~/Android/sdk]
$ export ANDROID_NDK_HOME=[Path to your Android NDK, e.g., ~/Android/sdk/ndk-bundle]
$ gradle clean build

Install APK

In app/build/outputs/apk/debug you'll find app-debug.apk. Upload app-debug.apk to your Android device and install it.

$ adb install -r /app/build/outputs/apk/debug/app-debug.apk
Success

About

Demonstrate how to use vulkan compute api to perform vector addition on Android Operating System.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published