@@ -156,55 +156,62 @@ CL_CONFIG_DEVICES = fpga-emu
156
156
** Linux**
157
157
158
158
1 ) 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
160
160
``` 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
164
164
```
165
165
2 ) Create ICD file pointing to the new runtime
166
166
``` 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
168
169
```
169
170
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
171
172
172
173
``` 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
176
177
```
177
178
178
179
4 ) Copy files from or create symbolic links to TBB libraries in OpenCL RT folder:
179
180
``` 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
182
184
/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
183
189
```
184
190
185
191
5 ) Configure library paths
186
192
``` 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
188
195
ldconfig -f /etc/ld.so.conf.d/libintelopenclexp.conf
189
196
```
190
197
** Windows (64-bit)**
191
198
1 ) If you need ` GPU ` as well, then update/install it first. Do it ** before**
192
199
installing ` CPU ` runtime as ` GPU ` runtime installer may re-write some important
193
200
files or settings and make existing ` CPU ` runtime not working properly.
194
201
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> ` .
197
204
198
205
3 ) Run ` Command Prompt ` as ` Administrator ` . To do that click ` Start ` button,
199
206
type ` Command Prompt ` , click the Right mouse button on it, then click
200
207
` Run As Administrator ` , then click ` Yes ` to confirm.
201
208
202
209
4 ) In the opened windows run ` install.bat ` provided with the extracted files
203
210
to 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
205
212
command:
206
213
``` 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
208
215
```
209
216
210
217
## Test SYCL toolchain
0 commit comments