-
I'm trying to setup TornadoVM on a GPU backed EC2 instance. I'm getting the following error when I run the tornadoDeviceInfo command. What could be the issue?
Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
You need to install the OpenCL driver for your GPU. If the Amazon instance contains an NVIDIA GPU, you can install CUDA SDK to get OpenCL as well as the PTX backends. |
Beta Was this translation helpful? Give feedback.
-
I think @jjfumero is right. I tried recently to run setup TornadoVM in AWS EC2 GPU instances and have created some notes about installing all the requirements and the OpenCL drivers for the instances that have the AMD and the Nvidia GPUs. I hope it can be helpful. |
Beta Was this translation helpful? Give feedback.
-
hello I have a similar outcome for a bare metal gentoo installation and would like to know how to best diagnose what might be link errors since the system reports relative success from the build script. i am targetting nvidia on tornado v14.0 if i build only for ptx the nvidia error responses look similar. if i include spirv in the script the java throws a stacktrace. tornado --devices
[TornadoVM-OCL-JNI] ERROR : clReleaseContext -> Returned: -34 the system has the following packages installed
schedulling a java static function shows something similar
TIA! |
Beta Was this translation helpful? Give feedback.
-
thank you so much for adding clarity here. per below, it looks like i have some ldconfig hell to trace through https://developer.nvidia.com/blog/nvidia-is-now-opencl-3-0-conformant/ is non-specific whether i get opencl 3.0 in the nvidia-drivers-215 package or if i must downgrade to 465. if i set the bios on alder lake to use both intel+nvidia graphics concurrently x11-server and steam tend to get overrun by gremlins. if ptx can work with recent drivers i can focus on opencl and spirv later once i get a known-good acceleration baseline
second question spirv-only build:
using only --ptx i get, now, with nvidia-cuda-toolkit 11.7
|
Beta Was this translation helpful? Give feedback.
-
running with opencl produced errors due to mesa compiled with intel opencl 1.2 stubs. rebuilding without mesa opencl produces what might be correct results from the code above and script.
|
Beta Was this translation helpful? Give feedback.
I think @jjfumero is right. I tried recently to run setup TornadoVM in AWS EC2 GPU instances and have created some notes about installing all the requirements and the OpenCL drivers for the instances that have the AMD and the Nvidia GPUs. I hope it can be helpful.