From af3380a6ec7a64c82a58d40c842d41496ba350a9 Mon Sep 17 00:00:00 2001 From: Vladimir Lazarev Date: Sun, 17 May 2020 14:40:42 +0300 Subject: [PATCH 1/2] [SYCL] Update getting dependencies documentation --- sycl/doc/GetStartedGuide.md | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/sycl/doc/GetStartedGuide.md b/sycl/doc/GetStartedGuide.md index 7fcb91aaf7826..e429be1b53679 100644 --- a/sycl/doc/GetStartedGuide.md +++ b/sycl/doc/GetStartedGuide.md @@ -164,33 +164,20 @@ which contains all the symbols required. To run DPC++ applications on OpenCL devices, OpenCL implementation(s) must be present in the system. -Please, refer to [the Release Notes](../ReleaseNotes.md) for recommended Intel -runtime versions. +Refer to [the dependency configuration file](../../buildbot/dependency.conf) +for recommended Intel runtime versions. The same versions are used in BuildBot +testing. -The `GPU` runtime that is needed to run DPC++ application on Intel `GPU` devices -can be downloaded from the following web pages: - -* Linux: [Intel® Graphics Compute Runtime for - OpenCL™](https://github.com/intel/compute-runtime/releases) - -* Windows: [Intel® Download - Center](https://downloadcenter.intel.com/product/80939/Graphics-Drivers) - - -To install Intel `CPU` runtime for OpenCL devices the corresponding runtime -asset/archive should be downloaded from -[DPC++ Compiler and Runtime updates](../ReleaseNotes.md) and installed following -procedure below. - -Intel `CPU` runtime for OpenCL depends on Threading Building Blocks library -which should be downloaded from [Threading Building Blocks (TBB) - GitHub repository](https://github.com/intel/tbb) and installed following -procedure below. +The `GPU` and `CPU` runtimes as well as TBB runtime which are needed to run +DPC++ application on Intel `GPU` or Intel `CPU` devices can be downloaded using +links in [the dependency configuration file](../../buildbot/dependency.conf) +and installed following the instructions below. Intel `CPU` runtime for OpenCL devices can be switched into Intel FPGA Emulation device for OpenCL. The following parameter should be set in `cl.cfg` -file (available in directory containing CPU runtime for OpenCL) to switch -OpenCL device mode: +file (available in directory containing CPU runtime for OpenCL) or environment +variable with the same name and value should be set to switch OpenCL device +mode: ``` CL_CONFIG_DEVICES = fpga-emu ``` From 590a9b8af63ebaf3609998fedb730d458ca73f35 Mon Sep 17 00:00:00 2001 From: vladimirlaz Date: Tue, 19 May 2020 11:42:57 +0300 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Pavel Chupin <45979248+pvchupin@users.noreply.github.com> --- sycl/doc/GetStartedGuide.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sycl/doc/GetStartedGuide.md b/sycl/doc/GetStartedGuide.md index e429be1b53679..9ce7e75f24aaa 100644 --- a/sycl/doc/GetStartedGuide.md +++ b/sycl/doc/GetStartedGuide.md @@ -164,19 +164,16 @@ which contains all the symbols required. To run DPC++ applications on OpenCL devices, OpenCL implementation(s) must be present in the system. -Refer to [the dependency configuration file](../../buildbot/dependency.conf) -for recommended Intel runtime versions. The same versions are used in BuildBot -testing. The `GPU` and `CPU` runtimes as well as TBB runtime which are needed to run DPC++ application on Intel `GPU` or Intel `CPU` devices can be downloaded using links in [the dependency configuration file](../../buildbot/dependency.conf) -and installed following the instructions below. +and installed following the instructions below. The same versions are used in PR testing. Intel `CPU` runtime for OpenCL devices can be switched into Intel FPGA Emulation device for OpenCL. The following parameter should be set in `cl.cfg` file (available in directory containing CPU runtime for OpenCL) or environment -variable with the same name and value should be set to switch OpenCL device +variable with the same name. The following value should be set to switch OpenCL device mode: ``` CL_CONFIG_DEVICES = fpga-emu