Android big.LITTLE core control

Hi, Can we have an API to use all of the cores (eg. for snapdragon 835, I want to test big cores and little cores together, and use 8 threads)?

I think you couldn’t do it. This isn’t be controlled by program. You could only use 4 big cores or 4 little cores at the same time, but you couldn’t use 4 big + 4 little at the same time.

All right. Thanks for your reply.

@FrozenGene I think it is possible to use all 8 threads, because you can set affinity to use all 8, but currently we statically allocate the same amount of work to each thread, so the performance will likely be lower than just using the big cores. It would be interesting to eventually support the heterogeneous case.

If so, i think it would be supported. In real app, we maybe only get 1 big core + some little cores for inference, could not get all big cores, because we have other tasks.

All right. Thank you all very much. I will try to set affinity.