Skip to content
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 configure Tornado correctly in IDEA ? #303

Open
Index-DiLing opened this issue Jan 7, 2024 · 6 comments
Open

How to configure Tornado correctly in IDEA ? #303

Index-DiLing opened this issue Jan 7, 2024 · 6 comments
Assignees
Labels
installation question Further information is requested

Comments

@Index-DiLing
Copy link

After installation and compilation,I passed the test and it shows I made it
But when I try to use it in IDEA,it doesn't work correctly
There is my configuration
JKNGRWYF}{XW_ 9F$KL5TEG
FVZFI@H(XT@N~Y1}~3Q 2%N
NVX6ULH4ZSP_922G %CAPSG
7P9EJM{9IZ`GA@1C03I3XIB
F(ADMO9NN9I{4F GMU_8J
S4IX}SF$6B3~)DB@NKDW8VU
(Code source example):
5 AY%C7L3G)S(P%)4_H%VVO
I should have followed the instructions and add the libs to my project
Acturally,I'm a beginner at this,So please forgive me for asking for help in this way

@jjfumero jjfumero self-assigned this Jan 7, 2024
@jjfumero jjfumero added question Further information is requested installation labels Jan 7, 2024
@jjfumero
Copy link
Member

jjfumero commented Jan 7, 2024

Having a quick look at your config files, it seems to be correct. The error is related to the OpenCL installation (as no driver is present). Did you install the OpenCL driver/runtime? We can give you some pointers to do so, which OS are you using?

Note that you do not need the Eclipse code formatter to run TornadoVM, this is just for as to develop the core of TornadoVM.

@Index-DiLing
Copy link
Author

Thanks!
My OS is Windows11,I think OpenCL drivers should be included in the video driver(It's probably worth mentioning that the graphics card I used was Intel A380,is it incompatible?)
What particularly confused me was that I passed the test and no errors were reported...

@jjfumero
Copy link
Member

jjfumero commented Jan 7, 2024

Yes, ARC GPUs are compatible with TornadoVM. I also use an ARC 750 for Windows 11. Apart from the Intel GPU driver, you need Intel oneAPI to get OpenCL and Level Zero runtimes/APIs.
The oneAPI base toolkit is enough for TornadoVM: https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html

@Index-DiLing
Copy link
Author

Thanks again....
I download the oneAPI base toolkit except for the complier in it
But it doen't work......
If only OpenCL driver is missing, OpenCL should be included in the graphics card driver....right?
Is there anything else going wrong...?
I've been trying for a long time, and I'm getting frustrated.Your support is very helpful for me

@jjfumero
Copy link
Member

jjfumero commented Jan 7, 2024

No problem. GPU drivers/runtimes are always a bit difficult to install, especially on Linux. Usually, you need two things to make OpenCL/CUDA, oneAPI, etc running.

  1. GPU drivers from the GPU vendor. This will install the low-level OS driver in your system.
  2. APIs and runtimes to be able to program the GPUs (this includes the OpenCL runtime, SPIR-V, etc.)

So, If you are running on ARC GPUs, you need
a) the ARC GPU Driver: https://www.intel.com/content/www/us/en/products/docs/discrete-gpus/arc/software/drivers.html
b) the oneAPI toolkit: https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html

This should be enough to run any OpenCL. SPIR-V program, thus, should be enough for TornadoVM.

@stratika
Copy link
Collaborator

hi, last week @jjfumero published a video that is relevant to this thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants