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

How to call external library with OpenCL on FPGA?

Altera_Forum
Honored Contributor II
1,402 Views

Hi, 

I have existing program which is computation intensive. That is why I want to try with FPGA using OpenCL for acceleration.  

The program is my computations are all done through certain libraries such as MKL, LAPACK/ARPACK.  

How do I call these libraries through OpenCL? Is it possible? Any suggestion? 

 

Thank you!!
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
711 Views

I don't know if it is possible, but I think you may find the libraries are not coded in a way that lets the Altera OpenCL compiler generate efficient hardware. This may not give you the acceleration you might expect. Can you try using a library? That would anwer your question.

0 Kudos
Altera_Forum
Honored Contributor II
711 Views

Thank you for your response. 

What do you mean "can you try using a library"? I am new to FPGA. So I am not sure what you meant.
0 Kudos
Altera_Forum
Honored Contributor II
711 Views

What I meant is, have you tried compiling OpenCL code with functions from a library?

0 Kudos
Reply