4

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.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491

1 Answers1

2

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

Onik
  • 19,396
  • 14
  • 68
  • 91
  • 1
    Android Things support RenderScript. But for most of the IoT devices, maybe a GPU RenderScript driver is missing, and the compute will be parallelized using multi-core CPU as Onik said. – Miao Wang Jun 16 '17 at 20:53
  • @CommonsWare Android Things support RenderScript, but probably running on CPU. – Miao Wang Jun 16 '17 at 21:10