Forum Discussion
Porting GPU kernels to Altera boards
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! Aaron9 Replies
- Altera_Forum
Honored Contributor
quite wide. Maybe start by reading from here..
https://www.altera.com/products/design-software/embedded-software-developers/opencl/overview.html - Altera_Forum
Honored Contributor
--- 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? - Altera_Forum
Honored Contributor
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.
- Altera_Forum
Honored Contributor
Thanks, Tony. Are you saying that Altera will never support 2.0 ?
- Altera_Forum
Honored Contributor
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.
- Altera_Forum
Honored Contributor
--- 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 ? - Altera_Forum
Honored Contributor
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.
- Altera_Forum
Honored Contributor
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. - Altera_Forum
Honored Contributor
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