OpenCL driver for FPGA Risc-V

I’m working on a project that aims to run OpenCL applications with a specific device : FPGA board that implements RiscV cores. The board reference is Terasic de5a-net. I have to create my own OpenCL driver/implementation and I can’t use the Intel FPGA OpenCL driver that already exists.

  1. Can I use LLVM-RiscV backend to compile openCL kernels (.cl) into RiscV binary ? How can I implement this with clBuildProgram() ?

  2. What are the different steps to develop an OpenCL driver ?

Thanks !

Hi Alexis,
Did you find any specific source or solution for OpenCl for RiscV can you share it, thanks.