llvm icon indicating copy to clipboard operation
llvm copied to clipboard

Follow the steps from public instructions TBB libraries in OpenCL RT installation failed

Open galinart opened this issue 11 months ago • 1 comments

Describe the bug

Follow the steps from public instructions TBB libraries in OpenCL RT installation failed https://github.com/intel/llvm/blob/sycl/sycl/doc/GetStartedGuide.md#install-low-level-runtime

To reproduce

In particular sections:

Section 2. Create ICD file pointing to the new runtime (requires root access) Creation of the file required to use different command since sudo only appried to "echo" command, not to file creation (see https://www.adamsdesk.com/posts/sudo-echo-permission-denied/#:~:text=It%20makes%20sense%20that%20if,not%20allowed%20to%20do%20so. )

e.g. echo "/opt/intel/oclcpuexp_<cpu_version>/x64/libintelocl.so" | sudo tee /etc/OpenCL/vendors/intel_expcpu.icd

Section 4. Copy files from or create symbolic links to TBB libraries in OpenCL RT folder:

The symlinks required different syntax

Instead of: ln -s /opt/intel/oneapi-tbb-<tbb_version>/lib/intel64/gcc4.8/libtbb.so /opt/intel/oclcpuexp_<cpu_version>/x64

Use: ln -s /opt/intel/oneapi-tbb-<tbb_version>/lib/intel64/gcc4.8/libtbb.so /opt/intel/oclcpuexp_<cpu_version>/x64/libtbb.so

Section 5. Configure library paths (requires root access)

The same issue as 2.

Environment

  • OS: Linux

Additional context

No response

galinart avatar Mar 13 '24 13:03 galinart

any update in the regards to this?

galinart avatar May 14 '24 15:05 galinart

Fixed in https://github.com/intel/llvm/pull/14204

againull avatar Jun 17 '24 23:06 againull

@againull appreciated!

galinart avatar Jun 18 '24 12:06 galinart