I run two different applications on the same device, but the results are different for the support runtimes.
final SNPE.NeuralNetworkBuilder builder = new SNPE.NeuralNetworkBuilder(mApplication);
for (NeuralNetwork.Runtime runtime : NeuralNetwork.Runtime.values()) {
if (builder.isRuntimeSupported(runtime)) {
result.add(runtime);
}
}
The one result is :
CPU
GPU
DSP
GPU_FLOAT16
AIP
but the other one is :
CPU
GPU
GPU_FLOAT16
Isn't this the fixed ability of the device? Or is it related to specific projects?
Could anyone help me solve my confusion?
Hi gexf2,
I am also facing the same problem while running the android tutorial for SNPE APIs. On the same device, earlier, there was support for DSP and it was working fine. But now, `builder.isRuntimeSupported()` always returns false for DSP, even when nothing has changed.
Can you please help me with a solution, if you have found one?
Thanks,
Animesh