Added base readme for android example

This commit is contained in:
Alejandro Saucedo 2020-10-04 17:02:14 +01:00
parent d801793286
commit 69ef5903b8
2 changed files with 19 additions and 11 deletions

BIN
docs/images/android-kompute.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View file

@ -1,14 +1,22 @@
Tutorial 02 - use validation layers - 1
===========
1. Add validation layers into gradle and pack them into apk
1. Enable all validation layers/extensions found on the system
1. Use vulkan wrappers in common/vulkan_wrapper directory
Verification
============
Planted error: this sample sets `VkDeviceQueueCreateInfo::pQueuePriorities` to nullptr,
which will trigger validation layers to notify us from registered callback function
`vkDebugReportCallbackEX_impl();` putting a breakpoint with Android Studo, observe
the breakpoint being triggered.
<table>
<tr>
<td width="50%">
<h1>Vulkan Kompute Android Example</h1>
<h3>Running Logistic Regression with Kompute in Android.</h3>
</td>
<td width="50%">
<img src="https://raw.githubusercontent.com/EthicalML/vulkan-kompute/android-example/docs/images/android-kompute.jpg">
</td>
</tr>
</table>