llama-cpp-turboquant/examples/android/android-simple
2020-10-03 13:10:40 +01:00
..
app Added functioning example 2020-10-03 13:10:40 +01:00
gradle/wrapper Updated example to start using core structure 2020-10-01 18:44:25 +01:00
.gitignore Updated example to start using core structure 2020-10-01 18:44:25 +01:00
build.gradle Updated example to start using core structure 2020-10-01 18:44:25 +01:00
gradle.properties Initial commit of android example 2020-09-30 08:29:58 +01:00
gradlew Updated example to start using core structure 2020-10-01 18:44:25 +01:00
gradlew.bat Updated example to start using core structure 2020-10-01 18:44:25 +01:00
README.md Updated example to start using core structure 2020-10-01 18:44:25 +01:00
settings.gradle Updated example to start using core structure 2020-10-01 18:44:25 +01:00

Tutorial 02 - use validation layers - 1

  1. Add validation layers into gradle and pack them into apk
  2. Enable all validation layers/extensions found on the system
  3. 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.