Search code examples
android-thingsandroid-renderscript

Does Android Things Support RenderScript Compute?


I know that Android Things supports the NDK. I cannot find a reference that states, one way or another, whether Android Things supports RenderScript Compute. My assumption is no (on the grounds that not all Things platforms will have a suitable GPU), but I was hoping perhaps that people had tried it or otherwise know whether RenderScript Compute works on Android Things.


Solution

  • My assumption is no (on the grounds that not all Things platforms will have a suitable GPU)

    I'll be more specific when I know what a "suitable" GPU is, but if there are some of those (see below) among the supported hardware platformes the assumption isn't correct.

    but I was hoping perhaps that people had tried it or otherwise know whether RenderScript Compute works on Android Things.

    I tried this sample on a RPi3 and it worked, although the question if the computation was parallelized across both CPU and GPU left open.

    enter image description here