Closed jbruchanov closed 2 years ago
It seems you are running it directly through the terminal, have you t ried doing it through the AndroidStudio as outlined in this blog post? https://towardsdatascience.com/gpu-accelerated-machine-learning-in-your-mobile-applications-using-the-android-ndk-vulkan-kompute-1e9da37b7617
There are some differences, but the project as is was tested relatively recently - if you share the errors that you see when running it on the platform, as well as the versions of the various components (vulkan, android emulator, kompute, etc)
Running form latest stable AS doesn't work as well
Android Studio Arctic Fox | 2020.3.1 Patch 4
Build #AI-203.7717.56.2031.7935034, built on November 21, 2021
Runtime version: 11.0.10+0-b96-7281165 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.6
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 6
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin, com.jetbrains.kmm
Thank you for reporting this @jbruchanov - I have been able to replicate, so we'll have a deeper look at why this is happening and what may need to be updated
Thank you again for reporting this, I can confirm this is now resolved via https://github.com/KomputeProject/kompute/pull/266
Are you able to try it again?
@axsaucedo awesome, works fine 👍 (built in Android Studio)
Awesome! Thank you for testing out @jbruchanov 👍
Could you please update android project & add some docs what are the prerequisites to compile it ?
Currently after some fiddling with versions I'm finally able to start compiling it, however it fails with following log... Not exactly sure what's the issue