Where is the RenderScript source code

不想你离开。 提交于 2019-12-19 09:39:08

问题


I am researching RenderScript in an university project. We wanted to find the scheduler that selects where the RenderScript code will run (on the CPU? The GPU? A DSP?) and study how it makes this choice.

The problem is, we couldn't find the source code of anything related to a scheduler. In fact, we couldn't find a single reference to the term "GPU" in the source code.

This is what we found about RenderScript in the Android source:

  • The RenderScript runtime: https://android.googlesource.com/platform/frameworks/rs/
  • The RenderScript Java runtime: https://android.googlesource.com/platform/frameworks/base/+/master/rs/
  • The offline compiler: https://android.googlesource.com/platform/frameworks/compile/slang/
  • The online JIT compiler: https://android.googlesource.com/platform/frameworks/compile/libbcc/

The question is, did we miss something? Are there any other renderscript-related source codes that we didn't list above? Because we are not finding anything related to a scheduler in these sources.

来源:https://stackoverflow.com/questions/31294624/where-is-the-renderscript-source-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!