Skip to content

Commit c90b08f

Browse files
authored
Merge pull request oneapi-src#2556 from andreyfe1/oneapi_device_selector
[oneMKL] Changes for README files regarding SYCL device setting
2 parents 6fb83e9 + 2cbf63a commit c90b08f

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

Libraries/oneMKL/binomial/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ The sample first generates a portfolio within given constraints using a uniform
2525
distribution and a Philox-type generator provided by the oneMKL RNG API.
2626

2727
This sample performs its computations on the default SYCL* device. You can set
28-
the `SYCL_DEVICE_FILTER` environment variable to `cpu` or `gpu` to select the device to use.
28+
the `ONEAPI_DEVICE_SELECTOR` environment variable to `"*:cpu"` or `"*:gpu"`
29+
to select the device to use.
30+
To find more information about the variable follow the link:
31+
[ONEAPI_DEVICE_SELECTOR](https://github.com/intel/llvm/blob/sycl/sycl/doc/EnvironmentVariables.md#oneapi_device_selector).
2932

3033
## Key Implementation Details
3134

Libraries/oneMKL/black_scholes/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ The sample first generates a portfolio within given constraints using a uniform
2626
distribution and a Philox-type generator provided by the oneMKL RNG API.
2727

2828
This sample performs its computations on the default SYCL* device. You can set
29-
the `SYCL_DEVICE_FILTER` environment variable to `cpu` or `gpu` to select the device to use.
29+
the `ONEAPI_DEVICE_SELECTOR` environment variable to `"*:cpu"` or `"*:gpu"`
30+
to select the device to use.
31+
To find more information about the variable follow the link:
32+
[ONEAPI_DEVICE_SELECTOR](https://github.com/intel/llvm/blob/sycl/sycl/doc/EnvironmentVariables.md#oneapi_device_selector).
3033

3134
This article explains in detail how oneMKL functions speed up Black-Scholes
3235
computation of European options pricing:

Libraries/oneMKL/matrix_mul_mkl/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ For more information on oneMKL and complete documentation of all oneMKL routines
1616

1717
Matrix Multiplication uses oneMKL to multiply two large matrices and measure device performance.
1818

19-
This sample performs its computations on the default SYCL* device. You can set the `SYCL_DEVICE_FILTER` environment variable to `cpu` or `gpu` to select the device to use.
19+
This sample performs its computations on the default SYCL* device. You can set
20+
the `ONEAPI_DEVICE_SELECTOR` environment variable to `"*:cpu"` or `"*:gpu"`
21+
to select the device to use.
22+
To find more information about the variable follow the link:
23+
[ONEAPI_DEVICE_SELECTOR](https://github.com/intel/llvm/blob/sycl/sycl/doc/EnvironmentVariables.md#oneapi_device_selector).
2024

2125
## Key Implementation Details
2226

0 commit comments

Comments
 (0)