-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use extensions of RISC-V in OpenCL code? #685
Comments
Hi,
|
Thanks for your reply!
|
Having been able to test now: the options that I referenced work without anything further. With the CMake option With the |
Version
4.0.0
What is your question or problem?
I compiled oneapi-construction-kit on my RISC-V CPU hardware using command below:
After set ICD file under
/etc/OpenCL/vendors/
,clinfo
andsycl-ls
can both find the RISC-V CPU as an OpenCL device.Now this RISC-V CPU can ran OpenCL code. Here is one of the OpenCL kernel I tried:
I compiled the kernel above with
ocl
and disassembled the output withllvm-objdump
using the command:There aren't any RISC-V V Extention Assembly Code in HelloWorld.txt though RVV is supported on my RISC-V CPU.
The text was updated successfully, but these errors were encountered: