clMathLibraries / clBLAS

a software library containing BLAS functions written in OpenCL
Apache License 2.0
838 stars 242 forks source link

Does this clBLAS support FPGA? #334

Open tangzhankun opened 6 years ago

tangzhankun commented 6 years ago

Hi, I want to do some performance stuff on FPGA with Intel FPGA OpenCL SDK. But have a question that does this support FPGA too? @gicmo @hughperkins @robertsdionne @sschaetz @glehmann

VincentSC commented 6 years ago

FPGAs need two things different:

So with some work it would be doable to make it compile, but the whole design of clBLAS has had GPUs in mind. See https://github.com/Xilinx/SDAccel_Examples/wiki/Practice-and-Experiment-with-C-OpenCL-Kernels and https://www.altera.com/documentation/mwh1391807516407.html to get an idea how different it is.

Best is to call your contact at Altera / Intel FPGA to ask about availability of an optimized BLAS library for their FPGAs.

hughperkins commented 6 years ago

Best is to call your contact at Altera / Intel FPGA to ask about availability of an optimized BLAS library for their FPGAs.

Thats a pretty good point actually :)

tangzhankun commented 6 years ago

@VincentSC Got it. Thanks.