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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,012件の閲覧回数
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!

ラベル(5)
タグ(1)
0 件の賞賛
返信
1 返信

893件の閲覧回数
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 件の賞賛
返信