I need guidance for transforming OpenCL code to RISC-V assembly form #1467
Replies: 3 comments 3 replies
-
Hi. Which platform you are building in? We have basic RISC-V support working upstream, but if you want to go for the "standalone" compilation mode they discuss in that paper, you best ask the authors of the paper you linked. These are some of the relevant parts in the user manual that should be helpful: http://portablecl.org/docs/html/install.html#risc-v-support http://portablecl.org/docs/html/development.html#using-pocl-from-the-build-tree. |
Beta Was this translation helpful? Give feedback.
-
Does this mean that you installed PoCL from your package manager? When using PoCL in a standard PC environment it's generally assumed that you have an ICD loader installed and the default build is set up so that said loader will find the PoCL platform. Make sure you have the If you built PoCL from source, note that clinfo is linked against the system |
Beta Was this translation helpful? Give feedback.
-
Hello, I found a way for this. There is a compiler for Ventus GPGPU in the repo in the link I added. After the installation, I was able to convert and print using pocl. It looks ideal to try. Thank you all for your answers. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am very new to this subject, so I need your guidance. Thank you in advance to everyone who takes the time.
I would like to start by summarizing the project I want to do as follows. We want to run OpenCL on a RISC-V core of our own design. While doing this, we thought we should use POCL. We took such a path because of the article you can find at the link here https://carrv.github.io/2021/papers/CARRV2021_paper_36_Blaise.pdf.
At this point, I have installed POCL on my computer, but I could not run any sample code. The $clinfo command shows that there is no opencl platform on my system.
What should I do at this point? The point I want to achieve is to properly convert OpenCL Host Code and Kernel Code into RISC-V assembly format.
Beta Was this translation helpful? Give feedback.
All reactions