How do I cross-compile the opencl example to run on the development board?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How do I cross-compile the opencl example to run on the development board?

1,620 次查看
machengyuan
Contributor I

Hello,

In ubuntu,I can compile and run opencl programs in gtec-demo-framework-master .zip.But how do I cross-compile the opencl  programs to run on the development board.

I can successfully compile the example with GCC.But there was an error when I cross-compiled.

incompatible /opt/AMDAPPSDK-2.9-1/lib/x86_64/libOpenCL.so when searching for -lOpenCL

How do I cross-compile the opencl example to run on the development board?

标签 (1)
0 项奖励
回复
1 回复

1,419 次查看
igorpadykov
NXP Employee
NXP Employee

Hi ma

please check documentation on

GitHub - codeauroraforum/gtec-demo-framework 

Also may be useful Linux documentation:

https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_LINUX_DOCS&Parent_nodeId=13376994810717061... 

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

0 项奖励
回复