Dear all,
I want to enable GPU optimization for Adreno 330 by using this compiler,
but I cannot find any compiler option I should set in the user guide.
To speed up my app by using OpenGL ES 3.0 with Adreno 330 GPU,
which compiler option should I set for it?
I need to get the extremely high performance (fastest run time) by using 100% CPU(Krait 400) & GPU resources.
Do NOT care code size, compile/link time, power, or other issues.
Could you give me some advices? Could you teach me how to configure the compiler?
For CPU, I will set -Ofast, but I have no any idea to tune compiler for GPU also.
Your friendly help would be greatly appreciated.
Regards,
Cathy
Cathy,
The Snapdragon LLVM compiler only generates code for the CPU. To generate code for the Adreno CPU, you can use either OpenGL ES or depending on the nature of your GPU use, you could consider a compute environment such as OpenCL or Renderscript. The Adreno SDK is a source for tools and information on this:
https://developer.qualcomm.com/mobile-development/mobile-technologies/gaming-graphics-optimization-adreno/tools-and-resources
The discussion forum for graphics topics is Mobile Gaming & Graphics Optimization forum:
https://developer.qualcomm.com/forums/qdevnet-forums/mobile-gaming-graphics-optimization-adreno
I suggest that you post your graphics questions there. In your post here, you have some CPU questions, and as you have posted another question in the Snapdragon LLVM forum, we will pick up this tread to that question.
If you have graphics operations for your application you can use OpenGL ES to accelerate the rendering of those objects, but OpenGL ES is not supported directly by Snapdragon LLVM (which is CPU only) and you need to use the Adreno SDK for that.
Availability of OpenCL, and if Renderscript is a better fit for your application should be discussed on the Mobile Gaming and Graphics forum.
Thansk a lot.