Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17267 Discussions

Porting GPU kernels to Altera boards

Altera_Forum
Honored Contributor II
1,799 Views

Hello! 

I am investigating porting some kernels from AMD GPU to Altera. 

 

These kernels make heavy use of OpenCL images and local memory. 

They require OpenCL 1.2 support. 

 

A few questions: 

 

What version of OpenCL is supported ? 

 

What kind of performance can I expect from OpenCL images ? On GPU, with video memory, images 

are the preferred way of working with image data. 

 

Do people ship OpenCL kernels? Or do they eventually re-write using Verilog or VHDL ? 

 

How fast will an OpenCL kernel be relative to the same logic written with VHDL ? 

 

Any insight into any/all of these questions would be greatly appreciated. 

 

Thanks! 

 

Aaron
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
989 Views
0 Kudos
Altera_Forum
Honored Contributor II
989 Views

 

--- Quote Start ---  

quite wide. Maybe start by reading from here.. 

 

https://www.altera.com/products/design-software/embedded-software-developers/opencl/overview.html 

--- Quote End ---  

 

 

Thanks, Tony. But I'm surprised Altera only supports OpenCL 1.0. Some of the posts mention shared virtual memory, 

an OpenCL 2.0 feature. Is this overview up to date?
0 Kudos
Altera_Forum
Honored Contributor II
989 Views

i can tell you that open CL 2.0 is never in the picture for Altera SDK, i believe was not been validated as well, as that had been stated clearly in some document, i read that somewhere before.

0 Kudos
Altera_Forum
Honored Contributor II
989 Views

Thanks, Tony. Are you saying that Altera will never support 2.0 ?

0 Kudos
Altera_Forum
Honored Contributor II
989 Views

Hi, i believe this is not the case, probably is only for the time being with out the open cl 2.0 in the road map, i believe sooner or later it may support that. maybe sooner.

0 Kudos
Altera_Forum
Honored Contributor II
989 Views

 

--- Quote Start ---  

Hi, i believe this is not the case, probably is only for the time being with out the open cl 2.0 in the road map, i believe sooner or later it may support that. maybe sooner. 

--- Quote End ---  

 

 

Thanks. Are images currently supported ?
0 Kudos
Altera_Forum
Honored Contributor II
989 Views

I think all still with open CL 1.0 now.... you may see unpredictable error and surprise then try to link with open CL 2.0 calls.

0 Kudos
Altera_Forum
Honored Contributor II
989 Views

Thanks. Do Altera employees frequent this board? It would be nice to hear confirm or denial from company. 

 

If I can't use 1.2, then its not worth the effort to port.
0 Kudos
Altera_Forum
Honored Contributor II
989 Views

oh.. i recall where i saw this statement. they did mentioned this is for open cl 1.0 

 

"The Altera SDK for OpenCL does this and conforms to the OpenCL 1.0 standard" 

 

https://www.altera.com/products/design-software/embedded-software-developers/opencl/overview.html
0 Kudos
Reply