How to execute EGL2.0 samples by GPU not CPU on imx6dl?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to execute EGL2.0 samples by GPU not CPU on imx6dl?

507 Views
jerry_py_liu
Contributor I

Hi,

I got this nxp gpu sdk from here.

https://www.nxp.com/webapp/sps/download/license.jsp?colCode=FSL_GPU_SDK_2.3&appType=file1&location=n...

I downloaded it and build 01_SimpleTriangle by Makefile.x11.

Then I executed it on our imx6dl board, I found that it use up to 80% CPU resource.

However, I found it can executed by GPU because CPU usage decrease to 4~10% after I test some method on board

But I cannot confirm how to do it and I cannot repeat this situation when I create new terminal on board.

How to executed this sample by GPU?

Thanks!

Tags (1)
0 Kudos
1 Reply

388 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jerry

one can check that gpu driver is included in image, it is described

in linux documentation (Linux Manual) on below links

Linux L4.14.78_1.0.0 Documentation

i.MX Software|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos