- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to use oneAPI in an application and am testing out some features. While doing so, I encountered some errors that may be related to configuration. The following is my code.
LLVM ERROR: SPIRV internal error.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package intel-level-zero-gpu
E: Unable to locate package level-zero
00:02.0 VGA compatible controller: Intel Corporation Device 3e92
Subsystem: ASRock Incorporation Device 3e92
Kernel driver in use: i915
Kernel modules: i915
Package: intel-opencl
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 4662
Maintainer: Intel Corporation
Architecture: amd64
Version: 19.41.14441
Depends: intel-gmmlib (= 19.3.2), intel-igc-opencl (= 1.0.2597), libc6 (>= 2.17), libgcc1 (>= 1:3.4), libstdc++6 (>= 6)
Description: Intel OpenCL GPU driver
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
It seems to be a GPU driver issue that you are having.
Try apt update and then try installing level zero drivers. If didn't work then also try clearing the apt-cache by apt-get clean and apt-get autoclean before installing level zero drivers.
You may also use GPU with OpenCL runtime if you have already installed the latest opencl drivers, export SYCL_BE=PI_OPENCL before executing your executable.
Hope this will help you to resolve your issue.
Warm Regards,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Abhishek,
Thank you for your reply. I have tried everything you've mentioned and successfully installed the drivers. Now it generates a different.
When I ran the code with a gpu_selector, the program could no longer detect the GPU. It outputs the following error:
terminate called after throwing an instance of 'cl::sycl::runtime_error'
what(): No device of requested type available. Please check https://software.intel.com/en-us/articles/intel-oneapi-dpcpp-compiler-system-requirements-beta -1 (CL_DEVICE_NOT_FOUND)
Aborted (core dumped)
I added the following code and ran it with a cpu to check for available devices:
Devices: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
Devices: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
Devices: SYCL host device
intel-opencl is already the newest version (20.51.18762).
level-zero is already the newest version (1.0.22).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please try executing the following commands and send us logs. Also, observe that after executing those commands whether you are able to see the GPU availability. Commands are:
- sycl-ls --verbose
- clinfo
Check whether these commands are detecting GPU and send us logs to get more insight into this issue.
Warm Regards,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Abhishek,
I have attached the logs for those commands. Neither of them are detecting the GPU.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry for the delay.
We can also see that neither clinfo nor sycl-ls is detecting the GPU.
Will you please check if you are able to see the GPU in the output of lspci command.
You can try out the following command:
$ lspci | grep -i vga
Please share the output of the above command with us.
Also, check if your user is a member of video/render group, if not then try out the following command to update your group.
$ sudo usermod -a -G video <username>
Hope the provided details will help to resolve your issue. Update us with the output.
Warm Regards,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please give us an update on your issue, so that we will get more insight on your issue. Also do let us know if the issue is resolved.
Warm Regards,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We haven't heard back from you for a long time. So we are assuming that your issue has been resolved. We will no longer monitor this thread.
Please post a new thread if you have any other issues.
Warm Regards,
Abhishek
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page