Forum Discussion
Altera_Forum
Honored Contributor
10 years agoHow to call external library with OpenCL on FPGA?
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!!3 Replies
- Altera_Forum
Honored Contributor
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.
- Altera_Forum
Honored Contributor
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. - Altera_Forum
Honored Contributor
What I meant is, have you tried compiling OpenCL code with functions from a library?