Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16606 Discussions

OpenCL directly in DE1-SOC with Linux Ubuntu

Altera_Forum
Honored Contributor II
1,716 Views

Hello, i am very thankful for everyone who can help me! 

 

I have to run OpenCL programs on the DE-SOC1-Board, but every documentation write, that I will need the OpenCL Linux Distribution Image. 

I have already Ubuntu configured on the DE1-SOC-Board with some software running on it. Is it possible to run OpenCL FPGA programs on the board with ubuntu? 

If its possible i would also do the programming/building/compiling and running on the board with the INTEL FPGA RTE Linux ARM32 Software. Is that working? 

 

My time for the project is running away ): 

 

Thank you !
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
879 Views

I would like to do the same with a different SoC board. Please post your solution if you have one. 

 

Preliminary research I found this document, that may hold some answers. 

https://www.altera.com/en_us/pdfs/literature/hb/opencl-sdk/aocl_rte_getting_started.pdf 

 

The following section may be what you need? 

4.1.5 Installing the Intel FPGA RTE for OpenCL onto the SoC FPGA Board
0 Kudos
Altera_Forum
Honored Contributor II
879 Views

Hi, 

 

It would be good if you could go through this tutorials also as help to give more picture. 

 

https://www.youtube.com/watch?v=ucdd6jigzjc&list=plqfr0we42khfw3rf-sexs3jxubhyoz_if 

Regards, 

CloseCL 

(This message was posted on behalf of Intel Corporation)
0 Kudos
Altera_Forum
Honored Contributor II
879 Views

Thanks for the tutorial link, but I think you missed the question being asked. As far as I am aware the out-of-box procedure only provides a basic Linux version with BusyBox v1.20.2 for the basic commands, but has no other development tools. 

 

Q "Is it possible to run OpenCL FPGA programs on the board with ubuntu?" 

 

I think that Altera should supply a well known Linux image that can be setup in minimum time. The lack of a usable image is as a major impediment to newbies wanting to start using OpenCL on Altera FPGA boards. 

 

I am currently trying to set up a Debian Linux distro for running on a DE0-nano-SoC. It is taking some time.  

 

It would be good if Altera could supply a Ubuntu or Debian image with OpenCL setup ready to use.
0 Kudos
Altera_Forum
Honored Contributor II
879 Views

Hi,I have done this work. see https://github.com/thinkoco/de1_soc_opencl

0 Kudos
Reply