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.
Can I use LLVM-RiscV backend to compile openCL kernels (.cl) into RiscV binary ? How can I implement this with clBuildProgram() ?
What are the different steps to develop an OpenCL driver ?