- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to run a sycl app using DPC++ Spir-v backend but I'm facing a lot of issues with installing the right opencl driver.
Configuration
- Ubuntu 20.04 (Docker)
- Intel(R) Xeon(R) Gold 5218
- Intel DPC++ (built from source, release Release oneAPI DPC++ Compiler 2021-12 · intel/llvm (github.com)
Description
I tried to download the OpenCL CPU Runtimes for Linux from there: OpenCL™ Runtimes for Intel® Processors
After the installation, clinfo returns the correct device but I can't compile even a simple sycl app using the CPU backend (-fsycl-targets=spir64_x86_64)
Looking at the opencl runtime page, I saw that there is a dedicated section for opencl runtimes with SYCL capabilities, so I tried to download the intel-oneapi-opencl-runtimes from the apt repository.
However, no OpenCL devices are found with clinfo with this method.
Am I missing something?
Additional info for OpenCL Runtimes 18.01
Content of /etc/OpenCL/vendors/: intel64.icd
Content of intel64.icd: /opt/intel/opencl_compilers_and_libraries_18.1.0.015/linux/compiler/lib/intel64_lin/libintelocl.so
Additional info for OpenCL oneapi runtimes
Content of /etc/OpenCL/vendors/: intel64.icd
Content of intel64.icd: /opt/intel/oneapi/lib/intel64/libintelocl.so
Content of /opt/intel/oneapi/lib/intel64/:
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
> However, no OpenCL devices are found with clinfo with this method.
Did you set oneapi environment before clinfo command?
For example, setting oneapi environment via command "source /opt/intel/oneapi/setvars.sh", then use "clinfo -l" command, all the devices are displayed.
Thanks
- 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 the provided details helped you in solving your problem. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page