UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Newbie dmichael
Newbie
383 Views
Registered: ‎05-16-2018

Do I need to install OpenCL to use Vitis?

Dear all,

I'm new to Vitis and also OpenCL. I'm following the example of vector add provided by the GitHub repositories and I realized that I need to use OpenCL to communicate between the device and the host computer. However, when I try to emulate this tutorial, there are errors pop up indicating something wrong with the OpenCL. So my question is do I need to install OpenCL on my Ubuntu machine? If I do, how can I find the relevant information?

 

Thanks everyone

Daoming

0 Kudos
3 Replies
Xilinx Employee
Xilinx Employee
352 Views
Registered: ‎07-16-2008

回复: Do I need to install OpenCL to use Vitis?

I don't think additional opencl packages are needed to be installed. 

What is your OS and what is the specific error message? Did you run with GUI or make flow?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Contributor
Contributor
241 Views
Registered: ‎09-17-2018

Re: Do I need to install OpenCL to use Vitis?

Hello!

I'm also new to Vitis but I've tried to compile openCL programs and without success, but I have made some progress.

Link

also use this link https://www.xilinx.com/html_docs/xilinx2019_2/vitis_doc/wzv1561825647931.html

and this https://github.com/Xilinx/Vitis-Tutorials/blob/master/docs/Pathway3/BuildingAnApplication.md?fbclid=IwAR1Rz9I80Dxv9SrzPT-Glw4zCg0aPzLzlTkOFE1fUDC9zO2mWkj-5uEspes

I've downloaded OpenCL libaries from Khronos git https://github.com/KhronosGroup/OpenCL-Headers

now I have both manually installed OpenCL in some folder and another copy in "/usr/include/" <- I got this one via sudo apt get

If you get this to compile feel free to share it with us :D

Good luck

 

0 Kudos
Highlighted
Explorer
Explorer
206 Views
Registered: ‎10-21-2015

Re: Do I need to install OpenCL to use Vitis?

0 Kudos