@@ -156,55 +156,62 @@ CL_CONFIG_DEVICES = fpga-emu
156156** Linux**
157157
1581581 ) Extract the archive. For example, for the archive
159- ` oclcpu_rt_<new_version >.tar.gz ` you would run the following commands
159+ ` oclcpu_rt_<cpu_version >.tar.gz ` you would run the following commands
160160``` bash
161- mkdir -p /opt/intel/oclcpuexp
162- cd /opt/intel/oclcpuexp
163- tar -zxvf oclcpu_rt_< new_version > .tar.gz
161+ mkdir -p /opt/intel/oclcpuexp_ < cpu_version >
162+ cd /opt/intel/oclcpuexp_ < cpu_version >
163+ tar -zxvf oclcpu_rt_< cpu_version > .tar.gz
164164```
1651652 ) Create ICD file pointing to the new runtime
166166``` bash
167- echo /opt/intel/oclcpuexp/x64/libintelocl.so > /etc/OpenCL/vendors/intel_expcpu.icd
167+ echo /opt/intel/oclcpuexp_< cpu_version> /x64/libintelocl.so >
168+ /etc/OpenCL/vendors/intel_expcpu.icd
168169```
169170
170- 3 ) Extract TBB libraries. For example, for the archive tbb2019 _ < version >oss_lin .tgz
171+ 3 ) Extract TBB libraries. For example, for the archive tbb-<tbb_version>-lin .tgz
171172
172173``` bash
173- mkdir -p /opt/intel/tbb
174- cd /opt/intel/tbb
175- tar -zxvf tbb2019_ < version > oss_lin .tgz
174+ mkdir -p /opt/intel/tbb_ < tbb_version >
175+ cd /opt/intel/tbb_ < tbb_version >
176+ tar -zxvf tbb * lin .tgz
176177```
177178
1781794 ) Copy files from or create symbolic links to TBB libraries in OpenCL RT folder:
179180``` bash
180- ln -s /opt/intel/tbb/lib/intel64/gcc4.8/libtbb.so /opt/intel/oclcpuexp/x64/libtbb.so
181- ln -s /opt/intel/tbb/lib/intel64/gcc4.8/libtbbmalloc.so
181+ ln -s /opt/intel/tbb_< tbb_version> /tbb/lib/intel64/gcc4.8/libtbb.so
182+ /opt/intel/oclcpuexp/x64/libtbb.so
183+ ln -s /opt/intel/tbb_< tbb_version> /tbb/lib/intel64/gcc4.8/libtbbmalloc.so
182184 /opt/intel/oclcpuexp/x64/libtbbmalloc.so
185+ ln -s /opt/intel/tbb_< tbb_version> /tbb/lib/intel64/gcc4.8/libtbb.so.2
186+ /opt/intel/oclcpuexp/x64/libtbb.so.2
187+ ln -s /opt/intel/tbb_< tbb_version> /tbb/lib/intel64/gcc4.8/libtbbmalloc.so.2
188+ /opt/intel/oclcpuexp/x64/libtbbmalloc.so.2
183189```
184190
1851915 ) Configure library paths
186192``` bash
187- echo /opt/intel/oclcpuexp/x64 > /etc/ld.so.conf.d/libintelopenclexp.conf
193+ echo /opt/intel/oclcpuexp_< cpu_version> /x64 >
194+ /etc/ld.so.conf.d/libintelopenclexp.conf
188195ldconfig -f /etc/ld.so.conf.d/libintelopenclexp.conf
189196```
190197** Windows (64-bit)**
1911981 ) If you need ` GPU ` as well, then update/install it first. Do it ** before**
192199installing ` CPU ` runtime as ` GPU ` runtime installer may re-write some important
193200files or settings and make existing ` CPU ` runtime not working properly.
194201
195- 2 ) Extract the archive to some folder. For example, to ` c:\oclcpu_rt_<new_version > `
196- and ` c:\tbb2019_<version>oss ` .
202+ 2 ) Extract the archive to some folder. For example, to ` c:\oclcpu_rt_<cpu_version > `
203+ and ` c:\tbb_<tbb_version> ` .
197204
1982053 ) Run ` Command Prompt ` as ` Administrator ` . To do that click ` Start ` button,
199206type ` Command Prompt ` , click the Right mouse button on it, then click
200207` Run As Administrator ` , then click ` Yes ` to confirm.
201208
2022094 ) In the opened windows run ` install.bat ` provided with the extracted files
203210to install runtime to the system and setup environment variables. So, if the
204- extracted files are in ` c:\oclcpu_rt_<new_version >\ ` folder, then type the
211+ extracted files are in ` c:\oclcpu_rt_<cpu_version >\ ` folder, then type the
205212command:
206213``` bash
207- c:\o clcpu_rt_< new_version > \i nstall.bat c:\t bb2019_ < version > oss \b in\i ntel64\v c14
214+ c:\o clcpu_rt_< cpu_version > \i nstall.bat c:\t bb_ < tbb_version > \t bb \b in\i ntel64\v c14
208215```
209216
210217## Test SYCL toolchain
0 commit comments