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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

362 Views
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?

Labels (1)
0 Kudos
1 Reply

161 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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 Kudos